@pulumi/azure 6.15.0-alpha.1736506192 → 6.15.0-alpha.1736769356
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/appplatform/springCloudGatewayRouteConfig.d.ts +3 -3
- package/appservice/getStaticWebApp.d.ts +2 -0
- package/appservice/getStaticWebApp.js.map +1 -1
- package/appservice/linuxFunctionApp.d.ts +9 -5
- package/appservice/linuxFunctionApp.js +0 -2
- package/appservice/linuxFunctionApp.js.map +1 -1
- package/appservice/staticWebApp.d.ts +36 -0
- package/appservice/staticWebApp.js +7 -1
- package/appservice/staticWebApp.js.map +1 -1
- package/appservice/windowsFunctionApp.d.ts +9 -3
- package/appservice/windowsFunctionApp.js.map +1 -1
- package/arckubernetes/index.d.ts +3 -0
- package/arckubernetes/index.js +6 -1
- package/arckubernetes/index.js.map +1 -1
- package/arckubernetes/provisionedCluster.d.ts +239 -0
- package/arckubernetes/provisionedCluster.js +126 -0
- package/arckubernetes/provisionedCluster.js.map +1 -0
- package/batch/pool.d.ts +12 -0
- package/batch/pool.js +2 -0
- package/batch/pool.js.map +1 -1
- package/billing/accountCostManagementExport.d.ts +10 -0
- package/billing/accountCostManagementExport.js +3 -0
- package/billing/accountCostManagementExport.js.map +1 -1
- package/cdn/frontdoorCustomDomain.d.ts +3 -3
- package/cdn/frontdoorProfile.d.ts +14 -0
- package/cdn/frontdoorProfile.js +2 -0
- package/cdn/frontdoorProfile.js.map +1 -1
- package/cdn/getFrontdoorProfile.d.ts +11 -0
- package/cdn/getFrontdoorProfile.js +2 -0
- package/cdn/getFrontdoorProfile.js.map +1 -1
- package/compute/windowsVirtualMachine.d.ts +3 -3
- package/containerservice/fluxConfiguration.d.ts +9 -0
- package/containerservice/fluxConfiguration.js +9 -0
- package/containerservice/fluxConfiguration.js.map +1 -1
- package/containerservice/getFleetManager.d.ts +82 -0
- package/containerservice/getFleetManager.js +56 -0
- package/containerservice/getFleetManager.js.map +1 -0
- package/containerservice/index.d.ts +3 -0
- package/containerservice/index.js +4 -1
- package/containerservice/index.js.map +1 -1
- package/core/resourceGroupCostManagementExport.d.ts +13 -0
- package/core/resourceGroupCostManagementExport.js +3 -0
- package/core/resourceGroupCostManagementExport.js.map +1 -1
- package/core/subscriptionCostManagementExport.d.ts +13 -0
- package/core/subscriptionCostManagementExport.js +3 -0
- package/core/subscriptionCostManagementExport.js.map +1 -1
- package/dynatrace/index.d.ts +3 -0
- package/dynatrace/index.js +6 -1
- package/dynatrace/index.js.map +1 -1
- package/dynatrace/tagRules.d.ts +97 -0
- package/dynatrace/tagRules.js +69 -0
- package/dynatrace/tagRules.js.map +1 -0
- package/healthcare/dicomService.d.ts +51 -3
- package/healthcare/dicomService.js +8 -0
- package/healthcare/dicomService.js.map +1 -1
- package/healthcare/getDicomService.d.ts +18 -2
- package/healthcare/getDicomService.js.map +1 -1
- package/loganalytics/cluster.d.ts +3 -3
- package/machinelearning/index.d.ts +6 -0
- package/machinelearning/index.js +11 -1
- package/machinelearning/index.js.map +1 -1
- package/machinelearning/workspaceNetworkOutboundRulePrivateEndpoint.d.ts +194 -0
- package/machinelearning/workspaceNetworkOutboundRulePrivateEndpoint.js +137 -0
- package/machinelearning/workspaceNetworkOutboundRulePrivateEndpoint.js.map +1 -0
- package/machinelearning/workspaceNetworkOutboundRuleServiceTag.d.ts +161 -0
- package/machinelearning/workspaceNetworkOutboundRuleServiceTag.js +134 -0
- package/machinelearning/workspaceNetworkOutboundRuleServiceTag.js.map +1 -0
- package/maps/creator.d.ts +2 -0
- package/maps/creator.js +2 -0
- package/maps/creator.js.map +1 -1
- package/mssql/managedInstance.d.ts +214 -7
- package/mssql/managedInstance.js +191 -6
- package/mssql/managedInstance.js.map +1 -1
- package/mssql/managedInstanceTransparentDataEncryption.d.ts +12 -0
- package/mssql/managedInstanceTransparentDataEncryption.js.map +1 -1
- package/mssql/serverTransparentDataEncryption.d.ts +12 -3
- package/mssql/serverTransparentDataEncryption.js.map +1 -1
- package/mysql/flexibleServerActiveDirectoryAdministratory.d.ts +94 -0
- package/mysql/flexibleServerActiveDirectoryAdministratory.js +49 -0
- package/mysql/flexibleServerActiveDirectoryAdministratory.js.map +1 -1
- package/netapp/volume.d.ts +1 -1
- package/network/expressRouteConnection.d.ts +3 -3
- package/network/virtualNetwork.d.ts +12 -0
- package/network/virtualNetwork.js +2 -0
- package/network/virtualNetwork.js.map +1 -1
- package/nginx/deployment.d.ts +15 -7
- package/nginx/deployment.js +2 -0
- package/nginx/deployment.js.map +1 -1
- package/nginx/getDeployment.d.ts +5 -1
- package/nginx/getDeployment.js.map +1 -1
- package/package.json +2 -2
- package/postgresql/flexibleServer.d.ts +2 -2
- package/postgresql/flexibleServer.js +2 -2
- package/redis/cache.d.ts +6 -0
- package/redis/cache.js.map +1 -1
- package/redis/enterpriseCluster.d.ts +9 -3
- package/redis/enterpriseCluster.js.map +1 -1
- package/securitycenter/contact.d.ts +4 -4
- package/securitycenter/contact.js +1 -1
- package/storage/getAccountSAS.d.ts +4 -4
- package/storage/getAccountSAS.js +2 -2
- package/synapse/sparkPool.d.ts +10 -0
- package/synapse/sparkPool.js +1 -0
- package/synapse/sparkPool.js.map +1 -1
- package/types/input.d.ts +258 -24
- package/types/output.d.ts +278 -27
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspaceNetworkOutboundRulePrivateEndpoint.js","sourceRoot":"","sources":["../../machinelearning/workspaceNetworkOutboundRulePrivateEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,MAAa,2CAA4C,SAAQ,MAAM,CAAC,cAAc;IAkElF,YAAY,IAAY,EAAE,WAAgH,EAAE,IAAmC;QAC3K,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,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161 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages an Azure Machine Learning Workspace Network Outbound Rule Service Tag.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
*
|
|
11
|
+
* const current = azure.core.getClientConfig({});
|
|
12
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
13
|
+
* name: "example-resources",
|
|
14
|
+
* location: "West Europe",
|
|
15
|
+
* });
|
|
16
|
+
* const exampleInsights = new azure.appinsights.Insights("example", {
|
|
17
|
+
* name: "workspace-example-ai",
|
|
18
|
+
* location: example.location,
|
|
19
|
+
* resourceGroupName: example.name,
|
|
20
|
+
* applicationType: "web",
|
|
21
|
+
* });
|
|
22
|
+
* const exampleKeyVault = new azure.keyvault.KeyVault("example", {
|
|
23
|
+
* name: "workspaceexamplekeyvault",
|
|
24
|
+
* location: example.location,
|
|
25
|
+
* resourceGroupName: example.name,
|
|
26
|
+
* tenantId: current.then(current => current.tenantId),
|
|
27
|
+
* skuName: "premium",
|
|
28
|
+
* });
|
|
29
|
+
* const exampleAccount = new azure.storage.Account("example", {
|
|
30
|
+
* name: "workspacestorageaccount",
|
|
31
|
+
* location: example.location,
|
|
32
|
+
* resourceGroupName: example.name,
|
|
33
|
+
* accountTier: "Standard",
|
|
34
|
+
* accountReplicationType: "GRS",
|
|
35
|
+
* });
|
|
36
|
+
* const exampleWorkspace = new azure.machinelearning.Workspace("example", {
|
|
37
|
+
* name: "example-workspace",
|
|
38
|
+
* location: example.location,
|
|
39
|
+
* resourceGroupName: example.name,
|
|
40
|
+
* applicationInsightsId: exampleInsights.id,
|
|
41
|
+
* keyVaultId: exampleKeyVault.id,
|
|
42
|
+
* storageAccountId: exampleAccount.id,
|
|
43
|
+
* managedNetwork: {
|
|
44
|
+
* isolationMode: "AllowOnlyApprovedOutbound",
|
|
45
|
+
* },
|
|
46
|
+
* identity: {
|
|
47
|
+
* type: "SystemAssigned",
|
|
48
|
+
* },
|
|
49
|
+
* });
|
|
50
|
+
* const exampleWorkspaceNetworkOutboundRuleServiceTag = new azure.machinelearning.WorkspaceNetworkOutboundRuleServiceTag("example", {
|
|
51
|
+
* name: "example-outboundrule",
|
|
52
|
+
* workspaceId: exampleWorkspace.id,
|
|
53
|
+
* serviceTag: "AppService",
|
|
54
|
+
* protocol: "TCP",
|
|
55
|
+
* portRanges: "443",
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* ## Import
|
|
60
|
+
*
|
|
61
|
+
* Machine Learning Workspace Network Outbound Rule Service Tag can be imported using the `resource id`, e.g.
|
|
62
|
+
*
|
|
63
|
+
* ```sh
|
|
64
|
+
* $ pulumi import azure:machinelearning/workspaceNetworkOutboundRuleServiceTag:WorkspaceNetworkOutboundRuleServiceTag example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.MachineLearningServices/workspaces/workspace1/outboundRules/rule1
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
export declare class WorkspaceNetworkOutboundRuleServiceTag extends pulumi.CustomResource {
|
|
68
|
+
/**
|
|
69
|
+
* Get an existing WorkspaceNetworkOutboundRuleServiceTag resource's state with the given name, ID, and optional extra
|
|
70
|
+
* properties used to qualify the lookup.
|
|
71
|
+
*
|
|
72
|
+
* @param name The _unique_ name of the resulting resource.
|
|
73
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
74
|
+
* @param state Any extra arguments used during the lookup.
|
|
75
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
76
|
+
*/
|
|
77
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkspaceNetworkOutboundRuleServiceTagState, opts?: pulumi.CustomResourceOptions): WorkspaceNetworkOutboundRuleServiceTag;
|
|
78
|
+
/**
|
|
79
|
+
* Returns true if the given object is an instance of WorkspaceNetworkOutboundRuleServiceTag. This is designed to work even
|
|
80
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
81
|
+
*/
|
|
82
|
+
static isInstance(obj: any): obj is WorkspaceNetworkOutboundRuleServiceTag;
|
|
83
|
+
/**
|
|
84
|
+
* Specifies the name of the Machine Learning Workspace Network Outbound Rule Service Tag. Changing this forces a new resource to be created.
|
|
85
|
+
*/
|
|
86
|
+
readonly name: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Specifies which ports traffic will be allowed by this rule. You can specify a single port (e.g. ` 80`) , a port range (e.g. `1024-655535`) or a comma-separated list of single ports and/or port ranges(e.g. `80,1024-655535`). `*` can be used to allow traffic on any port.
|
|
89
|
+
*/
|
|
90
|
+
readonly portRanges: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* Specifies the network protocol. Possible values are `*`, `TCP`, `UDP` and `ICMP`
|
|
93
|
+
*/
|
|
94
|
+
readonly protocol: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Specifies the fully qualified domain name to allow for outbound traffic. Possible values are `AppConfiguration`,`AppService`,`AzureActiveDirectory`,`AzureAdvancedThreatProtection`,`AzureArcInfrastructure`,`AzureAttestation`,`AzureBackup`,`AzureBotService`,`AzureContainerRegistry`,`AzureCosmosDB`,`AzureDataLake`,`AzureDevSpaces`,`AzureInformationProtection`,`AzureIoTHub`,`AzureKeyVault`,`AzureManagedGrafana`,`AzureMonitor`,`AzureOpenDatasets`,`AzurePlatformDNS`,`AzurePlatformIMDS`,`AzurePlatformLKM`,`AzureResourceManager`,`AzureSignalR`,`AzureSiteRecovery`,`AzureSpringCloud`,`AzureStack`,`AzureUpdateDelivery`,`DataFactoryManagement`,`EventHub`,`GuestAndHybridManagement`,`M365ManagementActivityApi`,`M365ManagementActivityApi`,`MicrosoftAzureFluidRelay`,`MicrosoftCloudAppSecurity`,`MicrosoftContainerRegistry`,`PowerPlatformInfra`,`ServiceBus`,`Sql`,`Storage`,`WindowsAdminCenter`,`AppServiceManagement`,`AutonomousDevelopmentPlatform`,`AzureActiveDirectoryDomainServices`,`AzureCloud`,`AzureConnectors`,`AzureContainerAppsService`,`AzureDatabricks`,`AzureDeviceUpdate`,`AzureEventGrid`,`AzureFrontDoor.Frontend`,`AzureFrontDoor.Backend`,`AzureFrontDoor.FirstParty`,`AzureHealthcareAPIs`,`AzureLoadBalancer`,`AzureMachineLearning`,`AzureSphere`,`AzureWebPubSub`,`BatchNodeManagement`,`ChaosStudio`,`CognitiveServicesFrontend`,`CognitiveServicesManagement`,`DataFactory`,`Dynamics365ForMarketingEmail`,`Dynamics365BusinessCentral`,`EOPExternalPublishedIPs`,`Internet`,`LogicApps`,`Marketplace`,`MicrosoftDefenderForEndpoint`,`PowerBI`,`PowerQueryOnline`,`ServiceFabric`,`SqlManagement`,`StorageSyncService`,`WindowsVirtualDesktop` and `VirtualNetwork`.
|
|
97
|
+
*/
|
|
98
|
+
readonly serviceTag: pulumi.Output<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created.
|
|
101
|
+
*/
|
|
102
|
+
readonly workspaceId: pulumi.Output<string>;
|
|
103
|
+
/**
|
|
104
|
+
* Create a WorkspaceNetworkOutboundRuleServiceTag resource with the given unique name, arguments, and options.
|
|
105
|
+
*
|
|
106
|
+
* @param name The _unique_ name of the resource.
|
|
107
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
108
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
109
|
+
*/
|
|
110
|
+
constructor(name: string, args: WorkspaceNetworkOutboundRuleServiceTagArgs, opts?: pulumi.CustomResourceOptions);
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Input properties used for looking up and filtering WorkspaceNetworkOutboundRuleServiceTag resources.
|
|
114
|
+
*/
|
|
115
|
+
export interface WorkspaceNetworkOutboundRuleServiceTagState {
|
|
116
|
+
/**
|
|
117
|
+
* Specifies the name of the Machine Learning Workspace Network Outbound Rule Service Tag. Changing this forces a new resource to be created.
|
|
118
|
+
*/
|
|
119
|
+
name?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Specifies which ports traffic will be allowed by this rule. You can specify a single port (e.g. ` 80`) , a port range (e.g. `1024-655535`) or a comma-separated list of single ports and/or port ranges(e.g. `80,1024-655535`). `*` can be used to allow traffic on any port.
|
|
122
|
+
*/
|
|
123
|
+
portRanges?: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Specifies the network protocol. Possible values are `*`, `TCP`, `UDP` and `ICMP`
|
|
126
|
+
*/
|
|
127
|
+
protocol?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Specifies the fully qualified domain name to allow for outbound traffic. Possible values are `AppConfiguration`,`AppService`,`AzureActiveDirectory`,`AzureAdvancedThreatProtection`,`AzureArcInfrastructure`,`AzureAttestation`,`AzureBackup`,`AzureBotService`,`AzureContainerRegistry`,`AzureCosmosDB`,`AzureDataLake`,`AzureDevSpaces`,`AzureInformationProtection`,`AzureIoTHub`,`AzureKeyVault`,`AzureManagedGrafana`,`AzureMonitor`,`AzureOpenDatasets`,`AzurePlatformDNS`,`AzurePlatformIMDS`,`AzurePlatformLKM`,`AzureResourceManager`,`AzureSignalR`,`AzureSiteRecovery`,`AzureSpringCloud`,`AzureStack`,`AzureUpdateDelivery`,`DataFactoryManagement`,`EventHub`,`GuestAndHybridManagement`,`M365ManagementActivityApi`,`M365ManagementActivityApi`,`MicrosoftAzureFluidRelay`,`MicrosoftCloudAppSecurity`,`MicrosoftContainerRegistry`,`PowerPlatformInfra`,`ServiceBus`,`Sql`,`Storage`,`WindowsAdminCenter`,`AppServiceManagement`,`AutonomousDevelopmentPlatform`,`AzureActiveDirectoryDomainServices`,`AzureCloud`,`AzureConnectors`,`AzureContainerAppsService`,`AzureDatabricks`,`AzureDeviceUpdate`,`AzureEventGrid`,`AzureFrontDoor.Frontend`,`AzureFrontDoor.Backend`,`AzureFrontDoor.FirstParty`,`AzureHealthcareAPIs`,`AzureLoadBalancer`,`AzureMachineLearning`,`AzureSphere`,`AzureWebPubSub`,`BatchNodeManagement`,`ChaosStudio`,`CognitiveServicesFrontend`,`CognitiveServicesManagement`,`DataFactory`,`Dynamics365ForMarketingEmail`,`Dynamics365BusinessCentral`,`EOPExternalPublishedIPs`,`Internet`,`LogicApps`,`Marketplace`,`MicrosoftDefenderForEndpoint`,`PowerBI`,`PowerQueryOnline`,`ServiceFabric`,`SqlManagement`,`StorageSyncService`,`WindowsVirtualDesktop` and `VirtualNetwork`.
|
|
130
|
+
*/
|
|
131
|
+
serviceTag?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created.
|
|
134
|
+
*/
|
|
135
|
+
workspaceId?: pulumi.Input<string>;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* The set of arguments for constructing a WorkspaceNetworkOutboundRuleServiceTag resource.
|
|
139
|
+
*/
|
|
140
|
+
export interface WorkspaceNetworkOutboundRuleServiceTagArgs {
|
|
141
|
+
/**
|
|
142
|
+
* Specifies the name of the Machine Learning Workspace Network Outbound Rule Service Tag. Changing this forces a new resource to be created.
|
|
143
|
+
*/
|
|
144
|
+
name?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* Specifies which ports traffic will be allowed by this rule. You can specify a single port (e.g. ` 80`) , a port range (e.g. `1024-655535`) or a comma-separated list of single ports and/or port ranges(e.g. `80,1024-655535`). `*` can be used to allow traffic on any port.
|
|
147
|
+
*/
|
|
148
|
+
portRanges: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* Specifies the network protocol. Possible values are `*`, `TCP`, `UDP` and `ICMP`
|
|
151
|
+
*/
|
|
152
|
+
protocol: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* Specifies the fully qualified domain name to allow for outbound traffic. Possible values are `AppConfiguration`,`AppService`,`AzureActiveDirectory`,`AzureAdvancedThreatProtection`,`AzureArcInfrastructure`,`AzureAttestation`,`AzureBackup`,`AzureBotService`,`AzureContainerRegistry`,`AzureCosmosDB`,`AzureDataLake`,`AzureDevSpaces`,`AzureInformationProtection`,`AzureIoTHub`,`AzureKeyVault`,`AzureManagedGrafana`,`AzureMonitor`,`AzureOpenDatasets`,`AzurePlatformDNS`,`AzurePlatformIMDS`,`AzurePlatformLKM`,`AzureResourceManager`,`AzureSignalR`,`AzureSiteRecovery`,`AzureSpringCloud`,`AzureStack`,`AzureUpdateDelivery`,`DataFactoryManagement`,`EventHub`,`GuestAndHybridManagement`,`M365ManagementActivityApi`,`M365ManagementActivityApi`,`MicrosoftAzureFluidRelay`,`MicrosoftCloudAppSecurity`,`MicrosoftContainerRegistry`,`PowerPlatformInfra`,`ServiceBus`,`Sql`,`Storage`,`WindowsAdminCenter`,`AppServiceManagement`,`AutonomousDevelopmentPlatform`,`AzureActiveDirectoryDomainServices`,`AzureCloud`,`AzureConnectors`,`AzureContainerAppsService`,`AzureDatabricks`,`AzureDeviceUpdate`,`AzureEventGrid`,`AzureFrontDoor.Frontend`,`AzureFrontDoor.Backend`,`AzureFrontDoor.FirstParty`,`AzureHealthcareAPIs`,`AzureLoadBalancer`,`AzureMachineLearning`,`AzureSphere`,`AzureWebPubSub`,`BatchNodeManagement`,`ChaosStudio`,`CognitiveServicesFrontend`,`CognitiveServicesManagement`,`DataFactory`,`Dynamics365ForMarketingEmail`,`Dynamics365BusinessCentral`,`EOPExternalPublishedIPs`,`Internet`,`LogicApps`,`Marketplace`,`MicrosoftDefenderForEndpoint`,`PowerBI`,`PowerQueryOnline`,`ServiceFabric`,`SqlManagement`,`StorageSyncService`,`WindowsVirtualDesktop` and `VirtualNetwork`.
|
|
155
|
+
*/
|
|
156
|
+
serviceTag: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* Specifies the ID of the Machine Learning Workspace. Changing this forces a new resource to be created.
|
|
159
|
+
*/
|
|
160
|
+
workspaceId: pulumi.Input<string>;
|
|
161
|
+
}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.WorkspaceNetworkOutboundRuleServiceTag = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an Azure Machine Learning Workspace Network Outbound Rule Service Tag.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const current = azure.core.getClientConfig({});
|
|
18
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
19
|
+
* name: "example-resources",
|
|
20
|
+
* location: "West Europe",
|
|
21
|
+
* });
|
|
22
|
+
* const exampleInsights = new azure.appinsights.Insights("example", {
|
|
23
|
+
* name: "workspace-example-ai",
|
|
24
|
+
* location: example.location,
|
|
25
|
+
* resourceGroupName: example.name,
|
|
26
|
+
* applicationType: "web",
|
|
27
|
+
* });
|
|
28
|
+
* const exampleKeyVault = new azure.keyvault.KeyVault("example", {
|
|
29
|
+
* name: "workspaceexamplekeyvault",
|
|
30
|
+
* location: example.location,
|
|
31
|
+
* resourceGroupName: example.name,
|
|
32
|
+
* tenantId: current.then(current => current.tenantId),
|
|
33
|
+
* skuName: "premium",
|
|
34
|
+
* });
|
|
35
|
+
* const exampleAccount = new azure.storage.Account("example", {
|
|
36
|
+
* name: "workspacestorageaccount",
|
|
37
|
+
* location: example.location,
|
|
38
|
+
* resourceGroupName: example.name,
|
|
39
|
+
* accountTier: "Standard",
|
|
40
|
+
* accountReplicationType: "GRS",
|
|
41
|
+
* });
|
|
42
|
+
* const exampleWorkspace = new azure.machinelearning.Workspace("example", {
|
|
43
|
+
* name: "example-workspace",
|
|
44
|
+
* location: example.location,
|
|
45
|
+
* resourceGroupName: example.name,
|
|
46
|
+
* applicationInsightsId: exampleInsights.id,
|
|
47
|
+
* keyVaultId: exampleKeyVault.id,
|
|
48
|
+
* storageAccountId: exampleAccount.id,
|
|
49
|
+
* managedNetwork: {
|
|
50
|
+
* isolationMode: "AllowOnlyApprovedOutbound",
|
|
51
|
+
* },
|
|
52
|
+
* identity: {
|
|
53
|
+
* type: "SystemAssigned",
|
|
54
|
+
* },
|
|
55
|
+
* });
|
|
56
|
+
* const exampleWorkspaceNetworkOutboundRuleServiceTag = new azure.machinelearning.WorkspaceNetworkOutboundRuleServiceTag("example", {
|
|
57
|
+
* name: "example-outboundrule",
|
|
58
|
+
* workspaceId: exampleWorkspace.id,
|
|
59
|
+
* serviceTag: "AppService",
|
|
60
|
+
* protocol: "TCP",
|
|
61
|
+
* portRanges: "443",
|
|
62
|
+
* });
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* ## Import
|
|
66
|
+
*
|
|
67
|
+
* Machine Learning Workspace Network Outbound Rule Service Tag can be imported using the `resource id`, e.g.
|
|
68
|
+
*
|
|
69
|
+
* ```sh
|
|
70
|
+
* $ pulumi import azure:machinelearning/workspaceNetworkOutboundRuleServiceTag:WorkspaceNetworkOutboundRuleServiceTag example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.MachineLearningServices/workspaces/workspace1/outboundRules/rule1
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
class WorkspaceNetworkOutboundRuleServiceTag extends pulumi.CustomResource {
|
|
74
|
+
constructor(name, argsOrState, opts) {
|
|
75
|
+
let resourceInputs = {};
|
|
76
|
+
opts = opts || {};
|
|
77
|
+
if (opts.id) {
|
|
78
|
+
const state = argsOrState;
|
|
79
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
80
|
+
resourceInputs["portRanges"] = state ? state.portRanges : undefined;
|
|
81
|
+
resourceInputs["protocol"] = state ? state.protocol : undefined;
|
|
82
|
+
resourceInputs["serviceTag"] = state ? state.serviceTag : undefined;
|
|
83
|
+
resourceInputs["workspaceId"] = state ? state.workspaceId : undefined;
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
const args = argsOrState;
|
|
87
|
+
if ((!args || args.portRanges === undefined) && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'portRanges'");
|
|
89
|
+
}
|
|
90
|
+
if ((!args || args.protocol === undefined) && !opts.urn) {
|
|
91
|
+
throw new Error("Missing required property 'protocol'");
|
|
92
|
+
}
|
|
93
|
+
if ((!args || args.serviceTag === undefined) && !opts.urn) {
|
|
94
|
+
throw new Error("Missing required property 'serviceTag'");
|
|
95
|
+
}
|
|
96
|
+
if ((!args || args.workspaceId === undefined) && !opts.urn) {
|
|
97
|
+
throw new Error("Missing required property 'workspaceId'");
|
|
98
|
+
}
|
|
99
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
100
|
+
resourceInputs["portRanges"] = args ? args.portRanges : undefined;
|
|
101
|
+
resourceInputs["protocol"] = args ? args.protocol : undefined;
|
|
102
|
+
resourceInputs["serviceTag"] = args ? args.serviceTag : undefined;
|
|
103
|
+
resourceInputs["workspaceId"] = args ? args.workspaceId : undefined;
|
|
104
|
+
}
|
|
105
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
106
|
+
super(WorkspaceNetworkOutboundRuleServiceTag.__pulumiType, name, resourceInputs, opts);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Get an existing WorkspaceNetworkOutboundRuleServiceTag resource's state with the given name, ID, and optional extra
|
|
110
|
+
* properties used to qualify the lookup.
|
|
111
|
+
*
|
|
112
|
+
* @param name The _unique_ name of the resulting resource.
|
|
113
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
114
|
+
* @param state Any extra arguments used during the lookup.
|
|
115
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
116
|
+
*/
|
|
117
|
+
static get(name, id, state, opts) {
|
|
118
|
+
return new WorkspaceNetworkOutboundRuleServiceTag(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Returns true if the given object is an instance of WorkspaceNetworkOutboundRuleServiceTag. This is designed to work even
|
|
122
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
123
|
+
*/
|
|
124
|
+
static isInstance(obj) {
|
|
125
|
+
if (obj === undefined || obj === null) {
|
|
126
|
+
return false;
|
|
127
|
+
}
|
|
128
|
+
return obj['__pulumiType'] === WorkspaceNetworkOutboundRuleServiceTag.__pulumiType;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
exports.WorkspaceNetworkOutboundRuleServiceTag = WorkspaceNetworkOutboundRuleServiceTag;
|
|
132
|
+
/** @internal */
|
|
133
|
+
WorkspaceNetworkOutboundRuleServiceTag.__pulumiType = 'azure:machinelearning/workspaceNetworkOutboundRuleServiceTag:WorkspaceNetworkOutboundRuleServiceTag';
|
|
134
|
+
//# sourceMappingURL=workspaceNetworkOutboundRuleServiceTag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspaceNetworkOutboundRuleServiceTag.js","sourceRoot":"","sources":["../../machinelearning/workspaceNetworkOutboundRuleServiceTag.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,MAAa,sCAAuC,SAAQ,MAAM,CAAC,cAAc;IAyD7E,YAAY,IAAY,EAAE,W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I,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,sCAAsC,CAAC,YAAY,CAAC;IACvF,CAAC;;AA1BL,wFA0FC;AA5EG,gBAAgB;AACO,mDAAY,GAAG,qGAAqG,CAAC"}
|
package/maps/creator.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Manages an Azure Maps Creator.
|
|
4
4
|
*
|
|
5
|
+
* > **Note:** The `azure.maps.Creator` resource has been deprecated because the service is retiring from 2024-09-23 and will be removed in v5.0 of the AzureRM Provider.
|
|
6
|
+
*
|
|
5
7
|
* ## Example Usage
|
|
6
8
|
*
|
|
7
9
|
* ```typescript
|
package/maps/creator.js
CHANGED
|
@@ -8,6 +8,8 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Manages an Azure Maps Creator.
|
|
10
10
|
*
|
|
11
|
+
* > **Note:** The `azure.maps.Creator` resource has been deprecated because the service is retiring from 2024-09-23 and will be removed in v5.0 of the AzureRM Provider.
|
|
12
|
+
*
|
|
11
13
|
* ## Example Usage
|
|
12
14
|
*
|
|
13
15
|
* ```typescript
|
package/maps/creator.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creator.js","sourceRoot":"","sources":["../../maps/creator.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"creator.js","sourceRoot":"","sources":["../../maps/creator.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAyD9C,YAAY,IA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AC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IAlFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AA1BL,0BAoFC;AAtEG,gBAAgB;AACO,oBAAY,GAAG,4BAA4B,CAAC"}
|
|
@@ -6,6 +6,195 @@ import * as outputs from "../types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* > **Note:** All arguments including the administrator login and password will be stored in the raw state as plain-text. [Read more about sensitive data in state](https://www.terraform.io/docs/state/sensitive-data.html).
|
|
8
8
|
*
|
|
9
|
+
* > **Note:** SQL Managed Instance needs permission to read Azure Active Directory when configuring the AAD administrator. [Read more about provisioning AAD administrators](https://learn.microsoft.com/en-us/azure/azure-sql/database/authentication-aad-configure?view=azuresql#provision-azure-ad-admin-sql-managed-instance).
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
*
|
|
17
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
18
|
+
* name: "database-rg",
|
|
19
|
+
* location: "West Europe",
|
|
20
|
+
* });
|
|
21
|
+
* const exampleNetworkSecurityGroup = new azure.network.NetworkSecurityGroup("example", {
|
|
22
|
+
* name: "mi-security-group",
|
|
23
|
+
* location: example.location,
|
|
24
|
+
* resourceGroupName: example.name,
|
|
25
|
+
* });
|
|
26
|
+
* const allowManagementInbound = new azure.network.NetworkSecurityRule("allow_management_inbound", {
|
|
27
|
+
* name: "allow_management_inbound",
|
|
28
|
+
* priority: 106,
|
|
29
|
+
* direction: "Inbound",
|
|
30
|
+
* access: "Allow",
|
|
31
|
+
* protocol: "Tcp",
|
|
32
|
+
* sourcePortRange: "*",
|
|
33
|
+
* destinationPortRanges: [
|
|
34
|
+
* "9000",
|
|
35
|
+
* "9003",
|
|
36
|
+
* "1438",
|
|
37
|
+
* "1440",
|
|
38
|
+
* "1452",
|
|
39
|
+
* ],
|
|
40
|
+
* sourceAddressPrefix: "*",
|
|
41
|
+
* destinationAddressPrefix: "*",
|
|
42
|
+
* resourceGroupName: example.name,
|
|
43
|
+
* networkSecurityGroupName: exampleNetworkSecurityGroup.name,
|
|
44
|
+
* });
|
|
45
|
+
* const allowMisubnetInbound = new azure.network.NetworkSecurityRule("allow_misubnet_inbound", {
|
|
46
|
+
* name: "allow_misubnet_inbound",
|
|
47
|
+
* priority: 200,
|
|
48
|
+
* direction: "Inbound",
|
|
49
|
+
* access: "Allow",
|
|
50
|
+
* protocol: "*",
|
|
51
|
+
* sourcePortRange: "*",
|
|
52
|
+
* destinationPortRange: "*",
|
|
53
|
+
* sourceAddressPrefix: "10.0.0.0/24",
|
|
54
|
+
* destinationAddressPrefix: "*",
|
|
55
|
+
* resourceGroupName: example.name,
|
|
56
|
+
* networkSecurityGroupName: exampleNetworkSecurityGroup.name,
|
|
57
|
+
* });
|
|
58
|
+
* const allowHealthProbeInbound = new azure.network.NetworkSecurityRule("allow_health_probe_inbound", {
|
|
59
|
+
* name: "allow_health_probe_inbound",
|
|
60
|
+
* priority: 300,
|
|
61
|
+
* direction: "Inbound",
|
|
62
|
+
* access: "Allow",
|
|
63
|
+
* protocol: "*",
|
|
64
|
+
* sourcePortRange: "*",
|
|
65
|
+
* destinationPortRange: "*",
|
|
66
|
+
* sourceAddressPrefix: "AzureLoadBalancer",
|
|
67
|
+
* destinationAddressPrefix: "*",
|
|
68
|
+
* resourceGroupName: example.name,
|
|
69
|
+
* networkSecurityGroupName: exampleNetworkSecurityGroup.name,
|
|
70
|
+
* });
|
|
71
|
+
* const allowTdsInbound = new azure.network.NetworkSecurityRule("allow_tds_inbound", {
|
|
72
|
+
* name: "allow_tds_inbound",
|
|
73
|
+
* priority: 1000,
|
|
74
|
+
* direction: "Inbound",
|
|
75
|
+
* access: "Allow",
|
|
76
|
+
* protocol: "Tcp",
|
|
77
|
+
* sourcePortRange: "*",
|
|
78
|
+
* destinationPortRange: "1433",
|
|
79
|
+
* sourceAddressPrefix: "VirtualNetwork",
|
|
80
|
+
* destinationAddressPrefix: "*",
|
|
81
|
+
* resourceGroupName: example.name,
|
|
82
|
+
* networkSecurityGroupName: exampleNetworkSecurityGroup.name,
|
|
83
|
+
* });
|
|
84
|
+
* const denyAllInbound = new azure.network.NetworkSecurityRule("deny_all_inbound", {
|
|
85
|
+
* name: "deny_all_inbound",
|
|
86
|
+
* priority: 4096,
|
|
87
|
+
* direction: "Inbound",
|
|
88
|
+
* access: "Deny",
|
|
89
|
+
* protocol: "*",
|
|
90
|
+
* sourcePortRange: "*",
|
|
91
|
+
* destinationPortRange: "*",
|
|
92
|
+
* sourceAddressPrefix: "*",
|
|
93
|
+
* destinationAddressPrefix: "*",
|
|
94
|
+
* resourceGroupName: example.name,
|
|
95
|
+
* networkSecurityGroupName: exampleNetworkSecurityGroup.name,
|
|
96
|
+
* });
|
|
97
|
+
* const allowManagementOutbound = new azure.network.NetworkSecurityRule("allow_management_outbound", {
|
|
98
|
+
* name: "allow_management_outbound",
|
|
99
|
+
* priority: 102,
|
|
100
|
+
* direction: "Outbound",
|
|
101
|
+
* access: "Allow",
|
|
102
|
+
* protocol: "Tcp",
|
|
103
|
+
* sourcePortRange: "*",
|
|
104
|
+
* destinationPortRanges: [
|
|
105
|
+
* "80",
|
|
106
|
+
* "443",
|
|
107
|
+
* "12000",
|
|
108
|
+
* ],
|
|
109
|
+
* sourceAddressPrefix: "*",
|
|
110
|
+
* destinationAddressPrefix: "*",
|
|
111
|
+
* resourceGroupName: example.name,
|
|
112
|
+
* networkSecurityGroupName: exampleNetworkSecurityGroup.name,
|
|
113
|
+
* });
|
|
114
|
+
* const allowMisubnetOutbound = new azure.network.NetworkSecurityRule("allow_misubnet_outbound", {
|
|
115
|
+
* name: "allow_misubnet_outbound",
|
|
116
|
+
* priority: 200,
|
|
117
|
+
* direction: "Outbound",
|
|
118
|
+
* access: "Allow",
|
|
119
|
+
* protocol: "*",
|
|
120
|
+
* sourcePortRange: "*",
|
|
121
|
+
* destinationPortRange: "*",
|
|
122
|
+
* sourceAddressPrefix: "10.0.0.0/24",
|
|
123
|
+
* destinationAddressPrefix: "*",
|
|
124
|
+
* resourceGroupName: example.name,
|
|
125
|
+
* networkSecurityGroupName: exampleNetworkSecurityGroup.name,
|
|
126
|
+
* });
|
|
127
|
+
* const denyAllOutbound = new azure.network.NetworkSecurityRule("deny_all_outbound", {
|
|
128
|
+
* name: "deny_all_outbound",
|
|
129
|
+
* priority: 4096,
|
|
130
|
+
* direction: "Outbound",
|
|
131
|
+
* access: "Deny",
|
|
132
|
+
* protocol: "*",
|
|
133
|
+
* sourcePortRange: "*",
|
|
134
|
+
* destinationPortRange: "*",
|
|
135
|
+
* sourceAddressPrefix: "*",
|
|
136
|
+
* destinationAddressPrefix: "*",
|
|
137
|
+
* resourceGroupName: example.name,
|
|
138
|
+
* networkSecurityGroupName: exampleNetworkSecurityGroup.name,
|
|
139
|
+
* });
|
|
140
|
+
* const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
|
|
141
|
+
* name: "vnet-mi",
|
|
142
|
+
* resourceGroupName: example.name,
|
|
143
|
+
* addressSpaces: ["10.0.0.0/16"],
|
|
144
|
+
* location: example.location,
|
|
145
|
+
* });
|
|
146
|
+
* const exampleSubnet = new azure.network.Subnet("example", {
|
|
147
|
+
* name: "subnet-mi",
|
|
148
|
+
* resourceGroupName: example.name,
|
|
149
|
+
* virtualNetworkName: exampleVirtualNetwork.name,
|
|
150
|
+
* addressPrefixes: ["10.0.0.0/24"],
|
|
151
|
+
* delegations: [{
|
|
152
|
+
* name: "managedinstancedelegation",
|
|
153
|
+
* serviceDelegation: {
|
|
154
|
+
* name: "Microsoft.Sql/managedInstances",
|
|
155
|
+
* actions: [
|
|
156
|
+
* "Microsoft.Network/virtualNetworks/subnets/join/action",
|
|
157
|
+
* "Microsoft.Network/virtualNetworks/subnets/prepareNetworkPolicies/action",
|
|
158
|
+
* "Microsoft.Network/virtualNetworks/subnets/unprepareNetworkPolicies/action",
|
|
159
|
+
* ],
|
|
160
|
+
* },
|
|
161
|
+
* }],
|
|
162
|
+
* });
|
|
163
|
+
* const exampleSubnetNetworkSecurityGroupAssociation = new azure.network.SubnetNetworkSecurityGroupAssociation("example", {
|
|
164
|
+
* subnetId: exampleSubnet.id,
|
|
165
|
+
* networkSecurityGroupId: exampleNetworkSecurityGroup.id,
|
|
166
|
+
* });
|
|
167
|
+
* const exampleRouteTable = new azure.network.RouteTable("example", {
|
|
168
|
+
* name: "routetable-mi",
|
|
169
|
+
* location: example.location,
|
|
170
|
+
* resourceGroupName: example.name,
|
|
171
|
+
* bgpRoutePropagationEnabled: true,
|
|
172
|
+
* }, {
|
|
173
|
+
* dependsOn: [exampleSubnet],
|
|
174
|
+
* });
|
|
175
|
+
* const exampleSubnetRouteTableAssociation = new azure.network.SubnetRouteTableAssociation("example", {
|
|
176
|
+
* subnetId: exampleSubnet.id,
|
|
177
|
+
* routeTableId: exampleRouteTable.id,
|
|
178
|
+
* });
|
|
179
|
+
* const exampleManagedInstance = new azure.mssql.ManagedInstance("example", {
|
|
180
|
+
* name: "managedsqlinstance",
|
|
181
|
+
* resourceGroupName: example.name,
|
|
182
|
+
* location: example.location,
|
|
183
|
+
* licenseType: "BasePrice",
|
|
184
|
+
* skuName: "GP_Gen5",
|
|
185
|
+
* storageSizeInGb: 32,
|
|
186
|
+
* subnetId: exampleSubnet.id,
|
|
187
|
+
* vcores: 4,
|
|
188
|
+
* administratorLogin: "mradministrator",
|
|
189
|
+
* administratorLoginPassword: "thisIsDog11",
|
|
190
|
+
* }, {
|
|
191
|
+
* dependsOn: [
|
|
192
|
+
* exampleSubnetNetworkSecurityGroupAssociation,
|
|
193
|
+
* exampleSubnetRouteTableAssociation,
|
|
194
|
+
* ],
|
|
195
|
+
* });
|
|
196
|
+
* ```
|
|
197
|
+
*
|
|
9
198
|
* ## Import
|
|
10
199
|
*
|
|
11
200
|
* Microsoft SQL Managed Instances can be imported using the `resource id`, e.g.
|
|
@@ -33,11 +222,15 @@ export declare class ManagedInstance extends pulumi.CustomResource {
|
|
|
33
222
|
/**
|
|
34
223
|
* The administrator login name for the new SQL Managed Instance. Changing this forces a new resource to be created.
|
|
35
224
|
*/
|
|
36
|
-
readonly administratorLogin: pulumi.Output<string>;
|
|
225
|
+
readonly administratorLogin: pulumi.Output<string | undefined>;
|
|
37
226
|
/**
|
|
38
227
|
* The password associated with the `administratorLogin` user. Needs to comply with Azure's [Password Policy](https://msdn.microsoft.com/library/ms161959.aspx)
|
|
39
228
|
*/
|
|
40
|
-
readonly administratorLoginPassword: pulumi.Output<string>;
|
|
229
|
+
readonly administratorLoginPassword: pulumi.Output<string | undefined>;
|
|
230
|
+
/**
|
|
231
|
+
* An `azureActiveDirectoryAdministrator` block as defined below.
|
|
232
|
+
*/
|
|
233
|
+
readonly azureActiveDirectoryAdministrator: pulumi.Output<outputs.mssql.ManagedInstanceAzureActiveDirectoryAdministrator | undefined>;
|
|
41
234
|
/**
|
|
42
235
|
* Specifies how the SQL Managed Instance will be collated. Default value is `SQL_Latin1_General_CP1_CI_AS`. Changing this forces a new resource to be created.
|
|
43
236
|
*/
|
|
@@ -72,6 +265,8 @@ export declare class ManagedInstance extends pulumi.CustomResource {
|
|
|
72
265
|
readonly maintenanceConfigurationName: pulumi.Output<string | undefined>;
|
|
73
266
|
/**
|
|
74
267
|
* The Minimum TLS Version. Default value is `1.2` Valid values include `1.0`, `1.1`, `1.2`.
|
|
268
|
+
*
|
|
269
|
+
* > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more.
|
|
75
270
|
*/
|
|
76
271
|
readonly minimumTlsVersion: pulumi.Output<string | undefined>;
|
|
77
272
|
/**
|
|
@@ -107,7 +302,7 @@ export declare class ManagedInstance extends pulumi.CustomResource {
|
|
|
107
302
|
*/
|
|
108
303
|
readonly storageSizeInGb: pulumi.Output<number>;
|
|
109
304
|
/**
|
|
110
|
-
* The subnet resource id that the SQL Managed Instance will be associated with.
|
|
305
|
+
* The subnet resource id that the SQL Managed Instance will be associated with.
|
|
111
306
|
*/
|
|
112
307
|
readonly subnetId: pulumi.Output<string>;
|
|
113
308
|
/**
|
|
@@ -149,6 +344,10 @@ export interface ManagedInstanceState {
|
|
|
149
344
|
* The password associated with the `administratorLogin` user. Needs to comply with Azure's [Password Policy](https://msdn.microsoft.com/library/ms161959.aspx)
|
|
150
345
|
*/
|
|
151
346
|
administratorLoginPassword?: pulumi.Input<string>;
|
|
347
|
+
/**
|
|
348
|
+
* An `azureActiveDirectoryAdministrator` block as defined below.
|
|
349
|
+
*/
|
|
350
|
+
azureActiveDirectoryAdministrator?: pulumi.Input<inputs.mssql.ManagedInstanceAzureActiveDirectoryAdministrator>;
|
|
152
351
|
/**
|
|
153
352
|
* Specifies how the SQL Managed Instance will be collated. Default value is `SQL_Latin1_General_CP1_CI_AS`. Changing this forces a new resource to be created.
|
|
154
353
|
*/
|
|
@@ -183,6 +382,8 @@ export interface ManagedInstanceState {
|
|
|
183
382
|
maintenanceConfigurationName?: pulumi.Input<string>;
|
|
184
383
|
/**
|
|
185
384
|
* The Minimum TLS Version. Default value is `1.2` Valid values include `1.0`, `1.1`, `1.2`.
|
|
385
|
+
*
|
|
386
|
+
* > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more.
|
|
186
387
|
*/
|
|
187
388
|
minimumTlsVersion?: pulumi.Input<string>;
|
|
188
389
|
/**
|
|
@@ -218,7 +419,7 @@ export interface ManagedInstanceState {
|
|
|
218
419
|
*/
|
|
219
420
|
storageSizeInGb?: pulumi.Input<number>;
|
|
220
421
|
/**
|
|
221
|
-
* The subnet resource id that the SQL Managed Instance will be associated with.
|
|
422
|
+
* The subnet resource id that the SQL Managed Instance will be associated with.
|
|
222
423
|
*/
|
|
223
424
|
subnetId?: pulumi.Input<string>;
|
|
224
425
|
/**
|
|
@@ -247,11 +448,15 @@ export interface ManagedInstanceArgs {
|
|
|
247
448
|
/**
|
|
248
449
|
* The administrator login name for the new SQL Managed Instance. Changing this forces a new resource to be created.
|
|
249
450
|
*/
|
|
250
|
-
administratorLogin
|
|
451
|
+
administratorLogin?: pulumi.Input<string>;
|
|
251
452
|
/**
|
|
252
453
|
* The password associated with the `administratorLogin` user. Needs to comply with Azure's [Password Policy](https://msdn.microsoft.com/library/ms161959.aspx)
|
|
253
454
|
*/
|
|
254
|
-
administratorLoginPassword
|
|
455
|
+
administratorLoginPassword?: pulumi.Input<string>;
|
|
456
|
+
/**
|
|
457
|
+
* An `azureActiveDirectoryAdministrator` block as defined below.
|
|
458
|
+
*/
|
|
459
|
+
azureActiveDirectoryAdministrator?: pulumi.Input<inputs.mssql.ManagedInstanceAzureActiveDirectoryAdministrator>;
|
|
255
460
|
/**
|
|
256
461
|
* Specifies how the SQL Managed Instance will be collated. Default value is `SQL_Latin1_General_CP1_CI_AS`. Changing this forces a new resource to be created.
|
|
257
462
|
*/
|
|
@@ -278,6 +483,8 @@ export interface ManagedInstanceArgs {
|
|
|
278
483
|
maintenanceConfigurationName?: pulumi.Input<string>;
|
|
279
484
|
/**
|
|
280
485
|
* The Minimum TLS Version. Default value is `1.2` Valid values include `1.0`, `1.1`, `1.2`.
|
|
486
|
+
*
|
|
487
|
+
* > **NOTE:** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more.
|
|
281
488
|
*/
|
|
282
489
|
minimumTlsVersion?: pulumi.Input<string>;
|
|
283
490
|
/**
|
|
@@ -313,7 +520,7 @@ export interface ManagedInstanceArgs {
|
|
|
313
520
|
*/
|
|
314
521
|
storageSizeInGb: pulumi.Input<number>;
|
|
315
522
|
/**
|
|
316
|
-
* The subnet resource id that the SQL Managed Instance will be associated with.
|
|
523
|
+
* The subnet resource id that the SQL Managed Instance will be associated with.
|
|
317
524
|
*/
|
|
318
525
|
subnetId: pulumi.Input<string>;
|
|
319
526
|
/**
|