@pulumi/azure 6.29.0-alpha.1763187052 → 6.29.0-alpha.1763660877
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/apimanagement/backend.d.ts +12 -0
- package/apimanagement/backend.js +2 -0
- package/apimanagement/backend.js.map +1 -1
- package/apimanagement/getService.d.ts +3 -3
- package/apimanagement/index.d.ts +9 -0
- package/apimanagement/index.js +16 -1
- package/apimanagement/index.js.map +1 -1
- package/apimanagement/workspaceApiVersionSet.d.ts +170 -0
- package/apimanagement/workspaceApiVersionSet.js +120 -0
- package/apimanagement/workspaceApiVersionSet.js.map +1 -0
- package/apimanagement/workspaceCertificate.d.ts +196 -0
- package/apimanagement/workspaceCertificate.js +122 -0
- package/apimanagement/workspaceCertificate.js.map +1 -0
- package/apimanagement/workspacePolicyFragment.d.ts +149 -0
- package/apimanagement/workspacePolicyFragment.js +116 -0
- package/apimanagement/workspacePolicyFragment.js.map +1 -0
- package/appplatform/springCloudCertificate.d.ts +99 -0
- package/appplatform/springCloudCertificate.js +99 -0
- package/appplatform/springCloudCertificate.js.map +1 -1
- package/appservice/activeSlot.d.ts +1 -1
- package/appservice/activeSlot.js +1 -1
- package/appservice/customHostnameBinding.d.ts +2 -2
- package/appservice/customHostnameBinding.js +2 -2
- package/appservice/environmentV3.d.ts +1 -1
- package/appservice/environmentV3.js +1 -1
- package/appservice/getStaticWebApp.d.ts +42 -0
- package/appservice/getStaticWebApp.js.map +1 -1
- package/appservice/slot.d.ts +4 -4
- package/appservice/slot.js +4 -4
- package/appservice/windowsWebApp.d.ts +18 -0
- package/appservice/windowsWebApp.js +2 -0
- package/appservice/windowsWebApp.js.map +1 -1
- package/appservice/windowsWebAppSlot.d.ts +18 -0
- package/appservice/windowsWebAppSlot.js +2 -0
- package/appservice/windowsWebAppSlot.js.map +1 -1
- package/automation/account.d.ts +1 -1
- package/automation/account.js +1 -1
- package/automation/certificate.d.ts +1 -1
- package/automation/certificate.js +1 -1
- package/automation/connection.d.ts +1 -1
- package/automation/connection.js +1 -1
- package/automation/connectionCertificate.d.ts +1 -1
- package/automation/connectionCertificate.js +1 -1
- package/automation/connectionClassicCertificate.d.ts +1 -1
- package/automation/connectionClassicCertificate.js +1 -1
- package/automation/connectionServicePrincipal.d.ts +1 -1
- package/automation/connectionServicePrincipal.js +1 -1
- package/automation/connectionType.d.ts +1 -1
- package/automation/connectionType.js +1 -1
- package/automation/credential.d.ts +1 -1
- package/automation/credential.js +1 -1
- package/automation/dscConfiguration.d.ts +1 -1
- package/automation/dscConfiguration.js +1 -1
- package/automation/dscNodeConfiguration.d.ts +1 -1
- package/automation/dscNodeConfiguration.js +1 -1
- package/automation/getAccount.d.ts +2 -2
- package/automation/getAccount.js +2 -2
- package/automation/getRunbook.d.ts +2 -2
- package/automation/getRunbook.js +2 -2
- package/automation/getVariables.d.ts +2 -2
- package/automation/getVariables.js +2 -2
- package/automation/hybridRunbookWorker.d.ts +1 -1
- package/automation/hybridRunbookWorker.js +1 -1
- package/automation/hybridRunbookWorkerGroup.d.ts +1 -1
- package/automation/hybridRunbookWorkerGroup.js +1 -1
- package/automation/jobSchedule.d.ts +1 -1
- package/automation/jobSchedule.js +1 -1
- package/automation/module.d.ts +1 -1
- package/automation/module.js +1 -1
- package/automation/python3Package.d.ts +1 -1
- package/automation/python3Package.js +1 -1
- package/automation/schedule.d.ts +1 -1
- package/automation/schedule.js +1 -1
- package/automation/softwareUpdateConfiguration.d.ts +2 -0
- package/automation/softwareUpdateConfiguration.js +2 -0
- package/automation/softwareUpdateConfiguration.js.map +1 -1
- package/automation/sourceControl.d.ts +1 -1
- package/automation/sourceControl.js +1 -1
- package/batch/getPool.d.ts +16 -10
- package/batch/getPool.js +6 -6
- package/batch/getPool.js.map +1 -1
- package/bot/channelTeams.d.ts +16 -4
- package/bot/channelTeams.js +2 -0
- package/bot/channelTeams.js.map +1 -1
- package/cdn/frontdoorSecret.d.ts +72 -0
- package/cdn/frontdoorSecret.js +72 -0
- package/cdn/frontdoorSecret.js.map +1 -1
- package/cognitive/account.d.ts +1 -1
- package/cognitive/account.js +1 -1
- package/compute/linuxVirtualMachineScaleSet.d.ts +36 -1
- package/compute/linuxVirtualMachineScaleSet.js +4 -1
- package/compute/linuxVirtualMachineScaleSet.js.map +1 -1
- package/compute/packetCapture.d.ts +1 -1
- package/compute/packetCapture.js +1 -1
- package/compute/scaleSetPacketCapture.d.ts +1 -1
- package/compute/scaleSetPacketCapture.js +1 -1
- package/compute/virtualMachine.d.ts +1 -1
- package/compute/virtualMachine.js +1 -1
- package/compute/windowsVirtualMachine.d.ts +9 -6
- package/compute/windowsVirtualMachine.js.map +1 -1
- package/compute/windowsVirtualMachineScaleSet.d.ts +38 -2
- package/compute/windowsVirtualMachineScaleSet.js +6 -2
- package/compute/windowsVirtualMachineScaleSet.js.map +1 -1
- package/containerapp/app.d.ts +1 -1
- package/containerapp/app.js +1 -1
- package/containerapp/customDomain.d.ts +1 -1
- package/containerapp/customDomain.js +1 -1
- package/containerapp/environment.d.ts +13 -1
- package/containerapp/environment.js +3 -1
- package/containerapp/environment.js.map +1 -1
- package/containerapp/environmentCertificate.d.ts +1 -1
- package/containerapp/environmentCertificate.js +1 -1
- package/containerapp/environmentCustomDomain.d.ts +2 -2
- package/containerapp/environmentCustomDomain.js +2 -2
- package/containerapp/environmentDaprComponent.d.ts +1 -1
- package/containerapp/environmentDaprComponent.js +1 -1
- package/containerapp/environmentStorage.d.ts +1 -1
- package/containerapp/environmentStorage.js +1 -1
- package/containerapp/getApp.d.ts +2 -2
- package/containerapp/getApp.js +2 -2
- package/containerapp/getEnvironment.d.ts +6 -2
- package/containerapp/getEnvironment.js +2 -2
- package/containerapp/getEnvironment.js.map +1 -1
- package/containerapp/getEnvironmentCertificate.d.ts +2 -2
- package/containerapp/getEnvironmentCertificate.js +2 -2
- package/containerapp/job.d.ts +1 -1
- package/containerapp/job.js +1 -1
- package/containerservice/clusterTrustedAccessRoleBinding.d.ts +1 -1
- package/containerservice/clusterTrustedAccessRoleBinding.js +1 -1
- package/containerservice/getClusterNodePool.d.ts +2 -2
- package/containerservice/getClusterNodePool.js +2 -2
- package/containerservice/getKubernetesCluster.d.ts +2 -2
- package/containerservice/getKubernetesCluster.js +2 -2
- package/containerservice/getKubernetesNodePoolSnapshot.d.ts +2 -2
- package/containerservice/getKubernetesNodePoolSnapshot.js +2 -2
- package/containerservice/kubernetesCluster.d.ts +13 -1
- package/containerservice/kubernetesCluster.js +3 -1
- package/containerservice/kubernetesCluster.js.map +1 -1
- package/containerservice/kubernetesClusterNodePool.d.ts +4 -4
- package/containerservice/kubernetesClusterNodePool.js +1 -1
- package/cosmosdb/account.d.ts +2 -2
- package/cosmosdb/account.js +2 -2
- package/cosmosdb/cassandraCluster.d.ts +49 -0
- package/cosmosdb/cassandraCluster.js +49 -0
- package/cosmosdb/cassandraCluster.js.map +1 -1
- package/cosmosdb/cassandraDatacenter.d.ts +59 -0
- package/cosmosdb/cassandraDatacenter.js +59 -0
- package/cosmosdb/cassandraDatacenter.js.map +1 -1
- package/cosmosdb/mongoCluster.d.ts +7 -4
- package/cosmosdb/mongoCluster.js +11 -4
- package/cosmosdb/mongoCluster.js.map +1 -1
- package/dashboard/getGrafana.d.ts +2 -2
- package/dashboard/getGrafana.js +2 -2
- package/dashboard/grafana.d.ts +1 -1
- package/dashboard/grafana.js +1 -1
- package/dashboard/grafanaManagedPrivateEndpoint.d.ts +1 -1
- package/dashboard/grafanaManagedPrivateEndpoint.js +1 -1
- package/datashare/datasetBlobStorage.d.ts +66 -0
- package/datashare/datasetBlobStorage.js +66 -0
- package/datashare/datasetBlobStorage.js.map +1 -1
- package/datashare/datasetDataLakeGen2.d.ts +62 -0
- package/datashare/datasetDataLakeGen2.js +62 -0
- package/datashare/datasetDataLakeGen2.js.map +1 -1
- package/desktopvirtualization/scalingPlan.d.ts +103 -0
- package/desktopvirtualization/scalingPlan.js +103 -0
- package/desktopvirtualization/scalingPlan.js.map +1 -1
- package/desktopvirtualization/scalingPlanHostPoolAssociation.d.ts +79 -0
- package/desktopvirtualization/scalingPlanHostPoolAssociation.js +79 -0
- package/desktopvirtualization/scalingPlanHostPoolAssociation.js.map +1 -1
- package/expressroute/getCircuitPeering.d.ts +2 -2
- package/expressroute/getCircuitPeering.js +2 -2
- package/frontdoor/rulesEngine.d.ts +6 -0
- package/frontdoor/rulesEngine.js.map +1 -1
- package/graph/getServicesAccount.d.ts +100 -0
- package/graph/getServicesAccount.js +70 -0
- package/graph/getServicesAccount.js.map +1 -0
- package/graph/index.d.ts +3 -0
- package/graph/index.js +4 -1
- package/graph/index.js.map +1 -1
- package/hpc/cacheBlobNfsTarget.d.ts +149 -0
- package/hpc/cacheBlobNfsTarget.js +149 -0
- package/hpc/cacheBlobNfsTarget.js.map +1 -1
- package/hpc/cacheBlobTarget.d.ts +71 -0
- package/hpc/cacheBlobTarget.js +71 -0
- package/hpc/cacheBlobTarget.js.map +1 -1
- package/index.d.ts +3 -2
- package/index.js +6 -4
- package/index.js.map +1 -1
- package/keyvault/accessPolicy.d.ts +42 -0
- package/keyvault/accessPolicy.js +42 -0
- package/keyvault/accessPolicy.js.map +1 -1
- package/keyvault/managedStorageAccount.d.ts +2 -0
- package/keyvault/managedStorageAccount.js +2 -0
- package/keyvault/managedStorageAccount.js.map +1 -1
- package/machinelearning/inferenceCluster.d.ts +1 -1
- package/machinelearning/inferenceCluster.js +1 -1
- package/machinelearning/workspace.d.ts +167 -0
- package/machinelearning/workspace.js +167 -0
- package/machinelearning/workspace.js.map +1 -1
- package/managedredis/geoReplication.d.ts +114 -0
- package/managedredis/geoReplication.js +111 -0
- package/managedredis/geoReplication.js.map +1 -0
- package/managedredis/get.d.ts +132 -0
- package/managedredis/get.js +74 -0
- package/managedredis/get.js.map +1 -0
- package/managedredis/index.d.ts +9 -0
- package/managedredis/index.js +30 -0
- package/managedredis/index.js.map +1 -0
- package/managedredis/managedRedis.d.ts +296 -0
- package/managedredis/managedRedis.js +193 -0
- package/managedredis/managedRedis.js.map +1 -0
- package/management/privateLinkAssociation.d.ts +2 -2
- package/management/privateLinkAssociation.js +2 -2
- package/mongocluster/firewallRule.d.ts +132 -0
- package/mongocluster/firewallRule.js +112 -0
- package/mongocluster/firewallRule.js.map +1 -0
- package/mongocluster/index.d.ts +6 -0
- package/mongocluster/index.js +27 -0
- package/mongocluster/index.js.map +1 -0
- package/mongocluster/mongoCluster.d.ts +317 -0
- package/mongocluster/mongoCluster.js +161 -0
- package/mongocluster/mongoCluster.js.map +1 -0
- package/netapp/backupPolicy.d.ts +1 -1
- package/netapp/backupPolicy.js +1 -1
- package/netapp/volumeGroupSapHana.d.ts +1 -1
- package/netapp/volumeGroupSapHana.js +1 -1
- package/network/applicationGateway.d.ts +1 -1
- package/network/applicationGateway.js +1 -1
- package/network/applicationSecurityGroup.d.ts +1 -1
- package/network/applicationSecurityGroup.js +1 -1
- package/network/bgpConnection.d.ts +1 -1
- package/network/bgpConnection.js +1 -1
- package/network/ddosProtectionPlan.d.ts +1 -1
- package/network/ddosProtectionPlan.js +1 -1
- package/network/expressRouteCircuit.d.ts +1 -1
- package/network/expressRouteCircuit.js +1 -1
- package/network/expressRouteCircuitAuthorization.d.ts +1 -1
- package/network/expressRouteCircuitAuthorization.js +1 -1
- package/network/expressRouteCircuitConnection.d.ts +1 -1
- package/network/expressRouteCircuitConnection.js +1 -1
- package/network/expressRouteCircuitPeering.d.ts +1 -1
- package/network/expressRouteCircuitPeering.js +1 -1
- package/network/expressRouteConnection.d.ts +1 -1
- package/network/expressRouteConnection.js +1 -1
- package/network/expressRouteGateway.d.ts +1 -1
- package/network/expressRouteGateway.js +1 -1
- package/network/expressRoutePort.d.ts +1 -1
- package/network/expressRoutePort.js +1 -1
- package/network/expressRoutePortAuthorization.d.ts +1 -1
- package/network/expressRoutePortAuthorization.js +1 -1
- package/network/firewall.d.ts +1 -1
- package/network/firewall.js +1 -1
- package/network/firewallApplicationRuleCollection.d.ts +1 -1
- package/network/firewallApplicationRuleCollection.js +1 -1
- package/network/firewallNatRuleCollection.d.ts +1 -1
- package/network/firewallNatRuleCollection.js +1 -1
- package/network/firewallNetworkRuleCollection.d.ts +1 -1
- package/network/firewallNetworkRuleCollection.js +1 -1
- package/network/firewallPolicy.d.ts +1 -1
- package/network/firewallPolicy.js +1 -1
- package/network/firewallPolicyRuleCollectionGroup.d.ts +1 -1
- package/network/firewallPolicyRuleCollectionGroup.js +1 -1
- package/network/getApplicationGateway.d.ts +2 -2
- package/network/getApplicationGateway.js +2 -2
- package/network/getApplicationSecurityGroup.d.ts +2 -2
- package/network/getApplicationSecurityGroup.js +2 -2
- package/network/getExpressRouteCircuit.d.ts +2 -2
- package/network/getExpressRouteCircuit.js +2 -2
- package/network/getFirewall.d.ts +2 -2
- package/network/getFirewall.js +2 -2
- package/network/getFirewallPolicy.d.ts +2 -2
- package/network/getFirewallPolicy.js +2 -2
- package/network/getGatewayConnection.d.ts +2 -2
- package/network/getGatewayConnection.js +2 -2
- package/network/getIpGroup.d.ts +2 -2
- package/network/getIpGroup.js +2 -2
- package/network/getIpGroups.d.ts +2 -2
- package/network/getIpGroups.js +2 -2
- package/network/getLocalNetworkGateway.d.ts +2 -2
- package/network/getLocalNetworkGateway.js +2 -2
- package/network/getNatGateway.d.ts +2 -2
- package/network/getNatGateway.js +2 -2
- package/network/getNetworkDdosProtectionPlan.d.ts +2 -2
- package/network/getNetworkDdosProtectionPlan.js +2 -2
- package/network/getNetworkInterface.d.ts +2 -2
- package/network/getNetworkInterface.js +2 -2
- package/network/getNetworkManager.d.ts +2 -2
- package/network/getNetworkManager.js +2 -2
- package/network/getNetworkManagerConnectivityConfiguration.d.ts +2 -2
- package/network/getNetworkManagerConnectivityConfiguration.js +2 -2
- package/network/getNetworkManagerIpamPool.d.ts +2 -2
- package/network/getNetworkManagerIpamPool.js +2 -2
- package/network/getNetworkManagerNetworkGroup.d.ts +2 -2
- package/network/getNetworkManagerNetworkGroup.js +2 -2
- package/network/getNetworkSecurityGroup.d.ts +2 -2
- package/network/getNetworkSecurityGroup.js +2 -2
- package/network/getNetworkWatcher.d.ts +2 -2
- package/network/getNetworkWatcher.js +2 -2
- package/network/getPublicIP.d.ts +2 -2
- package/network/getPublicIP.js +2 -2
- package/network/getPublicIPs.d.ts +2 -2
- package/network/getPublicIPs.js +2 -2
- package/network/getPublicIpPrefix.d.ts +2 -2
- package/network/getPublicIpPrefix.js +2 -2
- package/network/getRouteFilter.d.ts +2 -2
- package/network/getRouteFilter.js +2 -2
- package/network/getRouteTable.d.ts +2 -2
- package/network/getRouteTable.js +2 -2
- package/network/getServiceTags.d.ts +2 -2
- package/network/getServiceTags.js +2 -2
- package/network/getSubnet.d.ts +2 -2
- package/network/getSubnet.js +2 -2
- package/network/getVirtualHub.d.ts +2 -2
- package/network/getVirtualHub.js +2 -2
- package/network/getVirtualHubConnection.d.ts +2 -2
- package/network/getVirtualHubConnection.js +2 -2
- package/network/getVirtualHubRouteTable.d.ts +2 -2
- package/network/getVirtualHubRouteTable.js +2 -2
- package/network/getVirtualNetwork.d.ts +2 -2
- package/network/getVirtualNetwork.js +2 -2
- package/network/getVirtualNetworkGateway.d.ts +2 -2
- package/network/getVirtualNetworkGateway.js +2 -2
- package/network/getVirtualNetworkPeering.d.ts +2 -2
- package/network/getVirtualNetworkPeering.js +2 -2
- package/network/getVirtualWan.d.ts +2 -2
- package/network/getVirtualWan.js +2 -2
- package/network/getVpnGateway.d.ts +2 -2
- package/network/getVpnGateway.js +2 -2
- package/network/getVpnServerConfiguration.d.ts +2 -2
- package/network/getVpnServerConfiguration.js +2 -2
- package/network/index.d.ts +3 -0
- package/network/index.js +7 -2
- package/network/index.js.map +1 -1
- package/network/ipgroup.d.ts +1 -1
- package/network/ipgroup.js +1 -1
- package/network/ipgroupCIDR.d.ts +1 -1
- package/network/ipgroupCIDR.js +1 -1
- package/network/localNetworkGateway.d.ts +1 -1
- package/network/localNetworkGateway.js +1 -1
- package/network/natGateway.d.ts +1 -1
- package/network/natGateway.js +1 -1
- package/network/natGatewayPublicIpAssociation.d.ts +1 -1
- package/network/natGatewayPublicIpAssociation.js +1 -1
- package/network/natGatewayPublicIpPrefixAssociation.d.ts +1 -1
- package/network/natGatewayPublicIpPrefixAssociation.js +1 -1
- package/network/networkConnectionMonitor.d.ts +1 -1
- package/network/networkConnectionMonitor.js +1 -1
- package/network/networkInterface.d.ts +1 -1
- package/network/networkInterface.js +1 -1
- package/network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation.d.ts +1 -1
- package/network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation.js +1 -1
- package/network/networkInterfaceApplicationSecurityGroupAssociation.d.ts +1 -1
- package/network/networkInterfaceApplicationSecurityGroupAssociation.js +1 -1
- package/network/networkInterfaceBackendAddressPoolAssociation.d.ts +1 -1
- package/network/networkInterfaceBackendAddressPoolAssociation.js +1 -1
- package/network/networkInterfaceNatRuleAssociation.d.ts +1 -1
- package/network/networkInterfaceNatRuleAssociation.js +1 -1
- package/network/networkInterfaceSecurityGroupAssociation.d.ts +1 -1
- package/network/networkInterfaceSecurityGroupAssociation.js +1 -1
- package/network/networkManager.d.ts +1 -1
- package/network/networkManager.js +1 -1
- package/network/networkManagerAdminRule.d.ts +1 -1
- package/network/networkManagerAdminRule.js +1 -1
- package/network/networkManagerAdminRuleCollection.d.ts +1 -1
- package/network/networkManagerAdminRuleCollection.js +1 -1
- package/network/networkManagerConnectivityConfiguration.d.ts +1 -1
- package/network/networkManagerConnectivityConfiguration.js +1 -1
- package/network/networkManagerDeployment.d.ts +1 -1
- package/network/networkManagerDeployment.js +1 -1
- package/network/networkManagerIpamPool.d.ts +1 -1
- package/network/networkManagerIpamPool.js +1 -1
- package/network/networkManagerIpamPoolStaticCidr.d.ts +1 -1
- package/network/networkManagerIpamPoolStaticCidr.js +1 -1
- package/network/networkManagerManagementGroupConnection.d.ts +1 -1
- package/network/networkManagerManagementGroupConnection.js +1 -1
- package/network/networkManagerNetworkGroup.d.ts +1 -1
- package/network/networkManagerNetworkGroup.js +1 -1
- package/network/networkManagerRoutingConfiguration.d.ts +1 -1
- package/network/networkManagerRoutingConfiguration.js +1 -1
- package/network/networkManagerRoutingRule.d.ts +162 -0
- package/network/networkManagerRoutingRule.js +130 -0
- package/network/networkManagerRoutingRule.js.map +1 -0
- package/network/networkManagerRoutingRuleCollection.d.ts +1 -1
- package/network/networkManagerRoutingRuleCollection.js +1 -1
- package/network/networkManagerScopeConnection.d.ts +1 -1
- package/network/networkManagerScopeConnection.js +1 -1
- package/network/networkManagerSecurityAdminConfiguration.d.ts +1 -1
- package/network/networkManagerSecurityAdminConfiguration.js +1 -1
- package/network/networkManagerStaticMember.d.ts +1 -1
- package/network/networkManagerStaticMember.js +1 -1
- package/network/networkManagerSubscriptionConnection.d.ts +1 -1
- package/network/networkManagerSubscriptionConnection.js +1 -1
- package/network/networkManagerVerifierWorkspace.d.ts +1 -1
- package/network/networkManagerVerifierWorkspace.js +1 -1
- package/network/networkManagerVerifierWorkspaceReachabilityAnalysisIntent.d.ts +1 -1
- package/network/networkManagerVerifierWorkspaceReachabilityAnalysisIntent.js +1 -1
- package/network/networkSecurityGroup.d.ts +1 -1
- package/network/networkSecurityGroup.js +1 -1
- package/network/networkSecurityRule.d.ts +1 -1
- package/network/networkSecurityRule.js +1 -1
- package/network/networkWatcher.d.ts +1 -1
- package/network/networkWatcher.js +1 -1
- package/network/networkWatcherFlowLog.d.ts +10 -4
- package/network/networkWatcherFlowLog.js +1 -1
- package/network/networkWatcherFlowLog.js.map +1 -1
- package/network/pointToPointVpnGateway.d.ts +1 -1
- package/network/pointToPointVpnGateway.js +1 -1
- package/network/profile.d.ts +1 -1
- package/network/profile.js +1 -1
- package/network/publicIp.d.ts +1 -1
- package/network/publicIp.js +1 -1
- package/network/publicIpPrefix.d.ts +1 -1
- package/network/publicIpPrefix.js +1 -1
- package/network/route.d.ts +1 -1
- package/network/route.js +1 -1
- package/network/routeFilter.d.ts +1 -1
- package/network/routeFilter.js +1 -1
- package/network/routeMap.d.ts +1 -1
- package/network/routeMap.js +1 -1
- package/network/routeServer.d.ts +1 -1
- package/network/routeServer.js +1 -1
- package/network/routeServerBgpConnection.d.ts +1 -1
- package/network/routeServerBgpConnection.js +1 -1
- package/network/routeTable.d.ts +1 -1
- package/network/routeTable.js +1 -1
- package/network/routingIntent.d.ts +1 -1
- package/network/routingIntent.js +1 -1
- package/network/securityPartnerProvider.d.ts +1 -1
- package/network/securityPartnerProvider.js +1 -1
- package/network/subnet.d.ts +1 -7
- package/network/subnet.js +1 -1
- package/network/subnet.js.map +1 -1
- package/network/subnetNatGatewayAssociation.d.ts +1 -1
- package/network/subnetNatGatewayAssociation.js +1 -1
- package/network/subnetNetworkSecurityGroupAssociation.d.ts +1 -1
- package/network/subnetNetworkSecurityGroupAssociation.js +1 -1
- package/network/subnetRouteTableAssociation.d.ts +1 -1
- package/network/subnetRouteTableAssociation.js +1 -1
- package/network/subnetServiceEndpointStoragePolicy.d.ts +2 -1
- package/network/subnetServiceEndpointStoragePolicy.js +2 -1
- package/network/subnetServiceEndpointStoragePolicy.js.map +1 -1
- package/network/trafficManagerProfile.d.ts +2 -2
- package/network/trafficManagerProfile.js +2 -2
- package/network/virtualHub.d.ts +1 -1
- package/network/virtualHub.js +1 -1
- package/network/virtualHubConnection.d.ts +1 -1
- package/network/virtualHubConnection.js +1 -1
- package/network/virtualHubIp.d.ts +1 -1
- package/network/virtualHubIp.js +1 -1
- package/network/virtualHubRouteTable.d.ts +1 -1
- package/network/virtualHubRouteTable.js +1 -1
- package/network/virtualHubRouteTableRoute.d.ts +1 -1
- package/network/virtualHubRouteTableRoute.js +1 -1
- package/network/virtualNetwork.d.ts +1 -1
- package/network/virtualNetwork.js +1 -1
- package/network/virtualNetworkDnsServers.d.ts +1 -1
- package/network/virtualNetworkDnsServers.js +1 -1
- package/network/virtualNetworkGateway.d.ts +1 -1
- package/network/virtualNetworkGateway.js +1 -1
- package/network/virtualNetworkGatewayConnection.d.ts +1 -1
- package/network/virtualNetworkGatewayConnection.js +1 -1
- package/network/virtualNetworkGatewayNatRule.d.ts +1 -1
- package/network/virtualNetworkGatewayNatRule.js +1 -1
- package/network/virtualNetworkPeering.d.ts +1 -1
- package/network/virtualNetworkPeering.js +1 -1
- package/network/virtualWan.d.ts +1 -1
- package/network/virtualWan.js +1 -1
- package/network/vnpGatewayNatRule.d.ts +1 -1
- package/network/vnpGatewayNatRule.js +1 -1
- package/network/vpnGateway.d.ts +1 -1
- package/network/vpnGateway.js +1 -1
- package/network/vpnGatewayConnection.d.ts +1 -1
- package/network/vpnGatewayConnection.js +1 -1
- package/network/vpnServerConfiguration.d.ts +1 -1
- package/network/vpnServerConfiguration.js +1 -1
- package/network/vpnServerConfigurationPolicyGroup.d.ts +1 -1
- package/network/vpnServerConfigurationPolicyGroup.js +1 -1
- package/network/vpnSite.d.ts +1 -1
- package/network/vpnSite.js +1 -1
- package/notificationhub/namespace.d.ts +24 -0
- package/notificationhub/namespace.js +4 -0
- package/notificationhub/namespace.js.map +1 -1
- package/operationalinsights/analyticsSolution.d.ts +3 -3
- package/operationalinsights/analyticsSolution.js +3 -3
- package/oracle/autonomousDatabase.d.ts +7 -1
- package/oracle/autonomousDatabase.js +1 -1
- package/oracle/autonomousDatabase.js.map +1 -1
- package/oracle/autonomousDatabaseBackup.d.ts +1 -1
- package/oracle/autonomousDatabaseBackup.js +1 -1
- package/oracle/autonomousDatabaseCloneFromBackup.d.ts +442 -0
- package/oracle/autonomousDatabaseCloneFromBackup.js +223 -0
- package/oracle/autonomousDatabaseCloneFromBackup.js.map +1 -0
- package/oracle/autonomousDatabaseCloneFromDatabase.d.ts +438 -0
- package/oracle/autonomousDatabaseCloneFromDatabase.js +222 -0
- package/oracle/autonomousDatabaseCloneFromDatabase.js.map +1 -0
- package/oracle/cloudVmCluster.d.ts +1 -1
- package/oracle/cloudVmCluster.js +1 -1
- package/oracle/exadataInfrastructure.d.ts +1 -1
- package/oracle/exadataInfrastructure.js +1 -1
- package/oracle/exascaleDatabaseStorageVault.d.ts +207 -0
- package/oracle/exascaleDatabaseStorageVault.js +125 -0
- package/oracle/exascaleDatabaseStorageVault.js.map +1 -0
- package/oracle/getAdbsCharacterSets.d.ts +2 -2
- package/oracle/getAdbsCharacterSets.js +2 -2
- package/oracle/getAdbsNationalCharacterSets.d.ts +2 -2
- package/oracle/getAdbsNationalCharacterSets.js +2 -2
- package/oracle/getAutonomousDatabase.d.ts +2 -2
- package/oracle/getAutonomousDatabase.js +2 -2
- package/oracle/getAutonomousDatabaseBackup.d.ts +2 -2
- package/oracle/getAutonomousDatabaseBackup.js +2 -2
- package/oracle/getAutonomousDatabaseBackups.d.ts +2 -2
- package/oracle/getAutonomousDatabaseBackups.js +2 -2
- package/oracle/getAutonomousDatabaseCloneFromBackup.d.ts +330 -0
- package/oracle/getAutonomousDatabaseCloneFromBackup.js +70 -0
- package/oracle/getAutonomousDatabaseCloneFromBackup.js.map +1 -0
- package/oracle/getAutonomousDatabaseCloneFromDatabase.d.ts +346 -0
- package/oracle/getAutonomousDatabaseCloneFromDatabase.js +70 -0
- package/oracle/getAutonomousDatabaseCloneFromDatabase.js.map +1 -0
- package/oracle/getCloudVmCluster.d.ts +2 -2
- package/oracle/getCloudVmCluster.js +2 -2
- package/oracle/getDbNodes.d.ts +2 -2
- package/oracle/getDbNodes.js +2 -2
- package/oracle/getDbServers.d.ts +2 -2
- package/oracle/getDbServers.js +2 -2
- package/oracle/getDbSystemShapes.d.ts +2 -2
- package/oracle/getDbSystemShapes.js +2 -2
- package/oracle/getExadataInfrastructure.d.ts +2 -2
- package/oracle/getExadataInfrastructure.js +2 -2
- package/oracle/getExascaleDatabaseStorageVault.d.ts +135 -0
- package/oracle/getExascaleDatabaseStorageVault.js +70 -0
- package/oracle/getExascaleDatabaseStorageVault.js.map +1 -0
- package/oracle/getGiVersions.d.ts +2 -2
- package/oracle/getGiVersions.js +2 -2
- package/oracle/getResourceAnchor.d.ts +100 -0
- package/oracle/getResourceAnchor.js +70 -0
- package/oracle/getResourceAnchor.js.map +1 -0
- package/oracle/index.d.ts +24 -0
- package/oracle/index.js +33 -1
- package/oracle/index.js.map +1 -1
- package/oracle/resourceAnchor.d.ts +128 -0
- package/{mixedreality/spatialAnchorsAccount.js → oracle/resourceAnchor.js} +19 -24
- package/oracle/resourceAnchor.js.map +1 -0
- package/package.json +2 -2
- package/paloalto/virtualNetworkAppliance.d.ts +1 -1
- package/paloalto/virtualNetworkAppliance.js +1 -1
- package/pim/roleManagementPolicy.d.ts +56 -0
- package/pim/roleManagementPolicy.js +56 -0
- package/pim/roleManagementPolicy.js.map +1 -1
- package/policy/getVirtualMachineConfigurationAssignment.d.ts +2 -2
- package/policy/getVirtualMachineConfigurationAssignment.js +2 -2
- package/policy/virtualMachineConfigurationAssignment.d.ts +1 -1
- package/policy/virtualMachineConfigurationAssignment.js +1 -1
- package/postgresql/flexibleServerActiveDirectoryAdministrator.d.ts +47 -0
- package/postgresql/flexibleServerActiveDirectoryAdministrator.js +47 -0
- package/postgresql/flexibleServerActiveDirectoryAdministrator.js.map +1 -1
- package/postgresql/getFlexibleServer.d.ts +9 -0
- package/postgresql/getFlexibleServer.js.map +1 -1
- package/privatedns/linkService.d.ts +1 -1
- package/privatedns/linkService.js +1 -1
- package/privatelink/applicationSecurityGroupAssociation.d.ts +1 -1
- package/privatelink/applicationSecurityGroupAssociation.js +1 -1
- package/privatelink/endpoint.d.ts +2 -1
- package/privatelink/endpoint.js +2 -1
- package/privatelink/endpoint.js.map +1 -1
- package/privatelink/getEndpointConnection.d.ts +2 -2
- package/privatelink/getEndpointConnection.js +2 -2
- package/privatelink/getService.d.ts +2 -2
- package/privatelink/getService.js +2 -2
- package/privatelink/getServiceEndpointConnections.d.ts +2 -2
- package/privatelink/getServiceEndpointConnections.js +2 -2
- package/redhatopenshift/cluster.d.ts +103 -0
- package/redhatopenshift/cluster.js +103 -0
- package/redhatopenshift/cluster.js.map +1 -1
- package/redis/enterpriseCluster.d.ts +2 -0
- package/redis/enterpriseCluster.js +2 -0
- package/redis/enterpriseCluster.js.map +1 -1
- package/redis/enterpriseDatabase.d.ts +5 -3
- package/redis/enterpriseDatabase.js +2 -0
- package/redis/enterpriseDatabase.js.map +1 -1
- package/redis/firewallRule.d.ts +3 -3
- package/redis/firewallRule.js +3 -3
- package/redis/getEnterpriseDatabase.d.ts +4 -0
- package/redis/getEnterpriseDatabase.js +4 -0
- package/redis/getEnterpriseDatabase.js.map +1 -1
- package/search/getService.d.ts +2 -2
- package/search/getService.js +2 -2
- package/search/service.d.ts +10 -4
- package/search/service.js +1 -1
- package/search/service.js.map +1 -1
- package/search/sharedPrivateLinkService.d.ts +1 -1
- package/search/sharedPrivateLinkService.js +1 -1
- package/stack/hciCluster.d.ts +36 -0
- package/stack/hciCluster.js +36 -0
- package/stack/hciCluster.js.map +1 -1
- package/stack/hciMarketplaceGalleryImage.d.ts +48 -0
- package/stack/hciMarketplaceGalleryImage.js +48 -0
- package/stack/hciMarketplaceGalleryImage.js.map +1 -1
- package/storage/queue.d.ts +6 -0
- package/storage/queue.js.map +1 -1
- package/synapse/sparkPool.d.ts +4 -4
- package/synapse/sparkPool.js +1 -1
- package/synapse/workspaceSqlAadAdmin.d.ts +13 -13
- package/synapse/workspaceSqlAadAdmin.js +1 -1
- package/trafficmanager/profile.d.ts +2 -2
- package/trafficmanager/profile.js +2 -2
- package/types/input.d.ts +219 -15
- package/types/output.d.ts +386 -21
- package/waf/getFirewallPolicy.d.ts +2 -2
- package/waf/getFirewallPolicy.js +2 -2
- package/waf/policy.d.ts +1 -1
- package/waf/policy.js +1 -1
- package/mixedreality/getSpatialAnchorsAccount.d.ts +0 -105
- package/mixedreality/getSpatialAnchorsAccount.js +0 -74
- package/mixedreality/getSpatialAnchorsAccount.js.map +0 -1
- package/mixedreality/index.d.ts +0 -6
- package/mixedreality/index.js +0 -25
- package/mixedreality/index.js.map +0 -1
- package/mixedreality/spatialAnchorsAccount.d.ts +0 -143
- package/mixedreality/spatialAnchorsAccount.js.map +0 -1
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages a Certificate within an API Management Workspace.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
* import * as std from "@pulumi/std";
|
|
11
|
+
*
|
|
12
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
13
|
+
* name: "example-resources",
|
|
14
|
+
* location: "West Europe",
|
|
15
|
+
* });
|
|
16
|
+
* const exampleService = new azure.apimanagement.Service("example", {
|
|
17
|
+
* name: "example-apim",
|
|
18
|
+
* location: example.location,
|
|
19
|
+
* resourceGroupName: example.name,
|
|
20
|
+
* publisherName: "My Company",
|
|
21
|
+
* publisherEmail: "company@terraform.io",
|
|
22
|
+
* skuName: "Premium_1",
|
|
23
|
+
* });
|
|
24
|
+
* const exampleWorkspace = new azure.apimanagement.Workspace("example", {
|
|
25
|
+
* name: "example-workspace",
|
|
26
|
+
* apiManagementId: exampleService.id,
|
|
27
|
+
* displayName: "Example Workspace",
|
|
28
|
+
* });
|
|
29
|
+
* const exampleWorkspaceCertificate = new azure.apimanagement.WorkspaceCertificate("example", {
|
|
30
|
+
* name: "example-cert",
|
|
31
|
+
* apiManagementWorkspaceId: exampleWorkspace.id,
|
|
32
|
+
* certificateDataBase64: std.filebase64({
|
|
33
|
+
* input: "example.pfx",
|
|
34
|
+
* }).then(invoke => invoke.result),
|
|
35
|
+
* password: "terraform",
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* ## API Providers
|
|
40
|
+
*
|
|
41
|
+
* <!-- This section is generated, changes will be overwritten -->
|
|
42
|
+
* This resource uses the following Azure API Providers:
|
|
43
|
+
*
|
|
44
|
+
* * `Microsoft.ApiManagement` - 2024-05-01
|
|
45
|
+
*
|
|
46
|
+
* ## Import
|
|
47
|
+
*
|
|
48
|
+
* API Management Workspace Certificates can be imported using the `resource id`, e.g.
|
|
49
|
+
*
|
|
50
|
+
* ```sh
|
|
51
|
+
* $ pulumi import azure:apimanagement/workspaceCertificate:WorkspaceCertificate example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ApiManagement/service/service1/workspaces/workspace1/certificates/certificate1
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
export declare class WorkspaceCertificate extends pulumi.CustomResource {
|
|
55
|
+
/**
|
|
56
|
+
* Get an existing WorkspaceCertificate resource's state with the given name, ID, and optional extra
|
|
57
|
+
* properties used to qualify the lookup.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resulting resource.
|
|
60
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
61
|
+
* @param state Any extra arguments used during the lookup.
|
|
62
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
63
|
+
*/
|
|
64
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkspaceCertificateState, opts?: pulumi.CustomResourceOptions): WorkspaceCertificate;
|
|
65
|
+
/**
|
|
66
|
+
* Returns true if the given object is an instance of WorkspaceCertificate. This is designed to work even
|
|
67
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
68
|
+
*/
|
|
69
|
+
static isInstance(obj: any): obj is WorkspaceCertificate;
|
|
70
|
+
/**
|
|
71
|
+
* Specifies the ID of the API Management Workspace. Changing this forces a new resource to be created.
|
|
72
|
+
*/
|
|
73
|
+
readonly apiManagementWorkspaceId: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Specifies the base64-encoded string containing the certificate in PKCS#12 (.pfx) format.
|
|
76
|
+
*
|
|
77
|
+
* > **Note:** This is required when `password` is specified. Exactly one of `certificateDataBase64` or `keyVaultSecretId` must be specified.
|
|
78
|
+
*/
|
|
79
|
+
readonly certificateDataBase64: pulumi.Output<string | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* The expiration date of the API Management Workspace Certificate.
|
|
82
|
+
*/
|
|
83
|
+
readonly expiration: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Specifies the ID of the key vault secret.
|
|
86
|
+
*
|
|
87
|
+
* > **Note:** This is required when `userAssignedIdentityClientId` is specified. Exactly one of `certificateDataBase64` or `keyVaultSecretId` must be specified.
|
|
88
|
+
*/
|
|
89
|
+
readonly keyVaultSecretId: pulumi.Output<string | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* Specifies the name of the API Management Workspace Certificate. Changing this forces a new resource to be created.
|
|
92
|
+
*/
|
|
93
|
+
readonly name: pulumi.Output<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Specifies the password used to access the `certificateDataBase64`.
|
|
96
|
+
*/
|
|
97
|
+
readonly password: pulumi.Output<string | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* The subject name of the API Management Workspace Certificate.
|
|
100
|
+
*/
|
|
101
|
+
readonly subject: pulumi.Output<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The thumbprint of the API Management Workspace Certificate.
|
|
104
|
+
*/
|
|
105
|
+
readonly thumbprint: pulumi.Output<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Specifies the client ID of user-assigned identity to be used for accessing the `keyVaultSecretId`.
|
|
108
|
+
*/
|
|
109
|
+
readonly userAssignedIdentityClientId: pulumi.Output<string | undefined>;
|
|
110
|
+
/**
|
|
111
|
+
* Create a WorkspaceCertificate resource with the given unique name, arguments, and options.
|
|
112
|
+
*
|
|
113
|
+
* @param name The _unique_ name of the resource.
|
|
114
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
115
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
116
|
+
*/
|
|
117
|
+
constructor(name: string, args: WorkspaceCertificateArgs, opts?: pulumi.CustomResourceOptions);
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Input properties used for looking up and filtering WorkspaceCertificate resources.
|
|
121
|
+
*/
|
|
122
|
+
export interface WorkspaceCertificateState {
|
|
123
|
+
/**
|
|
124
|
+
* Specifies the ID of the API Management Workspace. Changing this forces a new resource to be created.
|
|
125
|
+
*/
|
|
126
|
+
apiManagementWorkspaceId?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Specifies the base64-encoded string containing the certificate in PKCS#12 (.pfx) format.
|
|
129
|
+
*
|
|
130
|
+
* > **Note:** This is required when `password` is specified. Exactly one of `certificateDataBase64` or `keyVaultSecretId` must be specified.
|
|
131
|
+
*/
|
|
132
|
+
certificateDataBase64?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* The expiration date of the API Management Workspace Certificate.
|
|
135
|
+
*/
|
|
136
|
+
expiration?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* Specifies the ID of the key vault secret.
|
|
139
|
+
*
|
|
140
|
+
* > **Note:** This is required when `userAssignedIdentityClientId` is specified. Exactly one of `certificateDataBase64` or `keyVaultSecretId` must be specified.
|
|
141
|
+
*/
|
|
142
|
+
keyVaultSecretId?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Specifies the name of the API Management Workspace Certificate. Changing this forces a new resource to be created.
|
|
145
|
+
*/
|
|
146
|
+
name?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Specifies the password used to access the `certificateDataBase64`.
|
|
149
|
+
*/
|
|
150
|
+
password?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* The subject name of the API Management Workspace Certificate.
|
|
153
|
+
*/
|
|
154
|
+
subject?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* The thumbprint of the API Management Workspace Certificate.
|
|
157
|
+
*/
|
|
158
|
+
thumbprint?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* Specifies the client ID of user-assigned identity to be used for accessing the `keyVaultSecretId`.
|
|
161
|
+
*/
|
|
162
|
+
userAssignedIdentityClientId?: pulumi.Input<string>;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* The set of arguments for constructing a WorkspaceCertificate resource.
|
|
166
|
+
*/
|
|
167
|
+
export interface WorkspaceCertificateArgs {
|
|
168
|
+
/**
|
|
169
|
+
* Specifies the ID of the API Management Workspace. Changing this forces a new resource to be created.
|
|
170
|
+
*/
|
|
171
|
+
apiManagementWorkspaceId: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Specifies the base64-encoded string containing the certificate in PKCS#12 (.pfx) format.
|
|
174
|
+
*
|
|
175
|
+
* > **Note:** This is required when `password` is specified. Exactly one of `certificateDataBase64` or `keyVaultSecretId` must be specified.
|
|
176
|
+
*/
|
|
177
|
+
certificateDataBase64?: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* Specifies the ID of the key vault secret.
|
|
180
|
+
*
|
|
181
|
+
* > **Note:** This is required when `userAssignedIdentityClientId` is specified. Exactly one of `certificateDataBase64` or `keyVaultSecretId` must be specified.
|
|
182
|
+
*/
|
|
183
|
+
keyVaultSecretId?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* Specifies the name of the API Management Workspace Certificate. Changing this forces a new resource to be created.
|
|
186
|
+
*/
|
|
187
|
+
name?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* Specifies the password used to access the `certificateDataBase64`.
|
|
190
|
+
*/
|
|
191
|
+
password?: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* Specifies the client ID of user-assigned identity to be used for accessing the `keyVaultSecretId`.
|
|
194
|
+
*/
|
|
195
|
+
userAssignedIdentityClientId?: pulumi.Input<string>;
|
|
196
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.WorkspaceCertificate = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a Certificate within an API Management Workspace.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
* import * as std from "@pulumi/std";
|
|
17
|
+
*
|
|
18
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
19
|
+
* name: "example-resources",
|
|
20
|
+
* location: "West Europe",
|
|
21
|
+
* });
|
|
22
|
+
* const exampleService = new azure.apimanagement.Service("example", {
|
|
23
|
+
* name: "example-apim",
|
|
24
|
+
* location: example.location,
|
|
25
|
+
* resourceGroupName: example.name,
|
|
26
|
+
* publisherName: "My Company",
|
|
27
|
+
* publisherEmail: "company@terraform.io",
|
|
28
|
+
* skuName: "Premium_1",
|
|
29
|
+
* });
|
|
30
|
+
* const exampleWorkspace = new azure.apimanagement.Workspace("example", {
|
|
31
|
+
* name: "example-workspace",
|
|
32
|
+
* apiManagementId: exampleService.id,
|
|
33
|
+
* displayName: "Example Workspace",
|
|
34
|
+
* });
|
|
35
|
+
* const exampleWorkspaceCertificate = new azure.apimanagement.WorkspaceCertificate("example", {
|
|
36
|
+
* name: "example-cert",
|
|
37
|
+
* apiManagementWorkspaceId: exampleWorkspace.id,
|
|
38
|
+
* certificateDataBase64: std.filebase64({
|
|
39
|
+
* input: "example.pfx",
|
|
40
|
+
* }).then(invoke => invoke.result),
|
|
41
|
+
* password: "terraform",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* ## API Providers
|
|
46
|
+
*
|
|
47
|
+
* <!-- This section is generated, changes will be overwritten -->
|
|
48
|
+
* This resource uses the following Azure API Providers:
|
|
49
|
+
*
|
|
50
|
+
* * `Microsoft.ApiManagement` - 2024-05-01
|
|
51
|
+
*
|
|
52
|
+
* ## Import
|
|
53
|
+
*
|
|
54
|
+
* API Management Workspace Certificates can be imported using the `resource id`, e.g.
|
|
55
|
+
*
|
|
56
|
+
* ```sh
|
|
57
|
+
* $ pulumi import azure:apimanagement/workspaceCertificate:WorkspaceCertificate example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ApiManagement/service/service1/workspaces/workspace1/certificates/certificate1
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
class WorkspaceCertificate extends pulumi.CustomResource {
|
|
61
|
+
/**
|
|
62
|
+
* Get an existing WorkspaceCertificate resource's state with the given name, ID, and optional extra
|
|
63
|
+
* properties used to qualify the lookup.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resulting resource.
|
|
66
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
67
|
+
* @param state Any extra arguments used during the lookup.
|
|
68
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
69
|
+
*/
|
|
70
|
+
static get(name, id, state, opts) {
|
|
71
|
+
return new WorkspaceCertificate(name, state, { ...opts, id: id });
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Returns true if the given object is an instance of WorkspaceCertificate. This is designed to work even
|
|
75
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
76
|
+
*/
|
|
77
|
+
static isInstance(obj) {
|
|
78
|
+
if (obj === undefined || obj === null) {
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
return obj['__pulumiType'] === WorkspaceCertificate.__pulumiType;
|
|
82
|
+
}
|
|
83
|
+
constructor(name, argsOrState, opts) {
|
|
84
|
+
let resourceInputs = {};
|
|
85
|
+
opts = opts || {};
|
|
86
|
+
if (opts.id) {
|
|
87
|
+
const state = argsOrState;
|
|
88
|
+
resourceInputs["apiManagementWorkspaceId"] = state?.apiManagementWorkspaceId;
|
|
89
|
+
resourceInputs["certificateDataBase64"] = state?.certificateDataBase64;
|
|
90
|
+
resourceInputs["expiration"] = state?.expiration;
|
|
91
|
+
resourceInputs["keyVaultSecretId"] = state?.keyVaultSecretId;
|
|
92
|
+
resourceInputs["name"] = state?.name;
|
|
93
|
+
resourceInputs["password"] = state?.password;
|
|
94
|
+
resourceInputs["subject"] = state?.subject;
|
|
95
|
+
resourceInputs["thumbprint"] = state?.thumbprint;
|
|
96
|
+
resourceInputs["userAssignedIdentityClientId"] = state?.userAssignedIdentityClientId;
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
const args = argsOrState;
|
|
100
|
+
if (args?.apiManagementWorkspaceId === undefined && !opts.urn) {
|
|
101
|
+
throw new Error("Missing required property 'apiManagementWorkspaceId'");
|
|
102
|
+
}
|
|
103
|
+
resourceInputs["apiManagementWorkspaceId"] = args?.apiManagementWorkspaceId;
|
|
104
|
+
resourceInputs["certificateDataBase64"] = args?.certificateDataBase64 ? pulumi.secret(args.certificateDataBase64) : undefined;
|
|
105
|
+
resourceInputs["keyVaultSecretId"] = args?.keyVaultSecretId;
|
|
106
|
+
resourceInputs["name"] = args?.name;
|
|
107
|
+
resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
|
|
108
|
+
resourceInputs["userAssignedIdentityClientId"] = args?.userAssignedIdentityClientId;
|
|
109
|
+
resourceInputs["expiration"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["subject"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["thumbprint"] = undefined /*out*/;
|
|
112
|
+
}
|
|
113
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
114
|
+
const secretOpts = { additionalSecretOutputs: ["certificateDataBase64", "password"] };
|
|
115
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
116
|
+
super(WorkspaceCertificate.__pulumiType, name, resourceInputs, opts);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.WorkspaceCertificate = WorkspaceCertificate;
|
|
120
|
+
/** @internal */
|
|
121
|
+
WorkspaceCertificate.__pulumiType = 'azure:apimanagement/workspaceCertificate:WorkspaceCertificate';
|
|
122
|
+
//# sourceMappingURL=workspaceCertificate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspaceCertificate.js","sourceRoot":"","sources":["../../apimanagement/workspaceCertificate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;IAmDD,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,0BAA0B,CAAC,GAAG,KAAK,EAAE,wBAAwB,CAAC;YAC7E,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,EAAE,qBAAqB,CAAC;YACvE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;YAC7C,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,8BAA8B,CAAC,GAAG,KAAK,EAAE,4BAA4B,CAAC;SACxF;aAAM;YACH,MAAM,IAAI,GAAG,WAAmD,CAAC;YACjE,IAAI,IAAI,EAAE,wBAAwB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;aAC3E;YACD,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9H,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACvF,cAAc,CAAC,8BAA8B,CAAC,GAAG,IAAI,EAAE,4BAA4B,CAAC;YACpF,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,uBAAuB,EAAE,UAAU,CAAC,EAAE,CAAC;QACtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AA9GL,oDA+GC;AAjGG,gBAAgB;AACO,iCAAY,GAAG,+DAA+D,CAAC"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Manages an API Management Workspace Policy Fragment.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as azure from "@pulumi/azure";
|
|
10
|
+
* import * as std from "@pulumi/std";
|
|
11
|
+
*
|
|
12
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
13
|
+
* name: "example-resources",
|
|
14
|
+
* location: "West Europe",
|
|
15
|
+
* });
|
|
16
|
+
* const exampleService = new azure.apimanagement.Service("example", {
|
|
17
|
+
* name: "example-apim",
|
|
18
|
+
* location: example.location,
|
|
19
|
+
* resourceGroupName: example.name,
|
|
20
|
+
* publisherName: "pub1",
|
|
21
|
+
* publisherEmail: "pub1@email.com",
|
|
22
|
+
* skuName: "Premium_1",
|
|
23
|
+
* });
|
|
24
|
+
* const exampleWorkspace = new azure.apimanagement.Workspace("example", {
|
|
25
|
+
* name: "example-workspace",
|
|
26
|
+
* apiManagementId: exampleService.id,
|
|
27
|
+
* displayName: "Example Workspace",
|
|
28
|
+
* description: "Example API Management Workspace",
|
|
29
|
+
* });
|
|
30
|
+
* const exampleWorkspacePolicyFragment = new azure.apimanagement.WorkspacePolicyFragment("example", {
|
|
31
|
+
* name: "example-policy-fragment",
|
|
32
|
+
* apiManagementWorkspaceId: exampleWorkspace.id,
|
|
33
|
+
* xmlFormat: "xml",
|
|
34
|
+
* xmlContent: std.file({
|
|
35
|
+
* input: "policy-fragment-1.xml",
|
|
36
|
+
* }).then(invoke => invoke.result),
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* ## API Providers
|
|
41
|
+
*
|
|
42
|
+
* <!-- This section is generated, changes will be overwritten -->
|
|
43
|
+
* This resource uses the following Azure API Providers:
|
|
44
|
+
*
|
|
45
|
+
* * `Microsoft.ApiManagement` - 2024-05-01
|
|
46
|
+
*
|
|
47
|
+
* ## Import
|
|
48
|
+
*
|
|
49
|
+
* API Management Workspace Policy Fragments can be imported using the `resource id`, e.g.
|
|
50
|
+
*
|
|
51
|
+
* ```sh
|
|
52
|
+
* $ pulumi import azure:apimanagement/workspacePolicyFragment:WorkspacePolicyFragment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ApiManagement/service/instance1/workspaces/workspace1/policyFragments/policyFragment1
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
export declare class WorkspacePolicyFragment extends pulumi.CustomResource {
|
|
56
|
+
/**
|
|
57
|
+
* Get an existing WorkspacePolicyFragment resource's state with the given name, ID, and optional extra
|
|
58
|
+
* properties used to qualify the lookup.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resulting resource.
|
|
61
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
62
|
+
* @param state Any extra arguments used during the lookup.
|
|
63
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
64
|
+
*/
|
|
65
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkspacePolicyFragmentState, opts?: pulumi.CustomResourceOptions): WorkspacePolicyFragment;
|
|
66
|
+
/**
|
|
67
|
+
* Returns true if the given object is an instance of WorkspacePolicyFragment. This is designed to work even
|
|
68
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
69
|
+
*/
|
|
70
|
+
static isInstance(obj: any): obj is WorkspacePolicyFragment;
|
|
71
|
+
/**
|
|
72
|
+
* Specifies the ID of the API Management Workspace. Changing this forces a new resource to be created.
|
|
73
|
+
*/
|
|
74
|
+
readonly apiManagementWorkspaceId: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Specifies the description for the API Management Workspace Policy Fragment.
|
|
77
|
+
*/
|
|
78
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* Specifies the name of the API Management Workspace Policy Fragment. Changing this forces a new resource to be created.
|
|
81
|
+
*/
|
|
82
|
+
readonly name: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Specifies the XML content of the API Management Workspace Policy Fragment.
|
|
85
|
+
*/
|
|
86
|
+
readonly xmlContent: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Specifies the XML format of the API Management Workspace Policy Fragment. Possible values are `xml` or `rawxml`. Defaults to `xml`.
|
|
89
|
+
*/
|
|
90
|
+
readonly xmlFormat: pulumi.Output<string | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* Create a WorkspacePolicyFragment resource with the given unique name, arguments, and options.
|
|
93
|
+
*
|
|
94
|
+
* @param name The _unique_ name of the resource.
|
|
95
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
96
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
97
|
+
*/
|
|
98
|
+
constructor(name: string, args: WorkspacePolicyFragmentArgs, opts?: pulumi.CustomResourceOptions);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Input properties used for looking up and filtering WorkspacePolicyFragment resources.
|
|
102
|
+
*/
|
|
103
|
+
export interface WorkspacePolicyFragmentState {
|
|
104
|
+
/**
|
|
105
|
+
* Specifies the ID of the API Management Workspace. Changing this forces a new resource to be created.
|
|
106
|
+
*/
|
|
107
|
+
apiManagementWorkspaceId?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Specifies the description for the API Management Workspace Policy Fragment.
|
|
110
|
+
*/
|
|
111
|
+
description?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Specifies the name of the API Management Workspace Policy Fragment. Changing this forces a new resource to be created.
|
|
114
|
+
*/
|
|
115
|
+
name?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Specifies the XML content of the API Management Workspace Policy Fragment.
|
|
118
|
+
*/
|
|
119
|
+
xmlContent?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Specifies the XML format of the API Management Workspace Policy Fragment. Possible values are `xml` or `rawxml`. Defaults to `xml`.
|
|
122
|
+
*/
|
|
123
|
+
xmlFormat?: pulumi.Input<string>;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* The set of arguments for constructing a WorkspacePolicyFragment resource.
|
|
127
|
+
*/
|
|
128
|
+
export interface WorkspacePolicyFragmentArgs {
|
|
129
|
+
/**
|
|
130
|
+
* Specifies the ID of the API Management Workspace. Changing this forces a new resource to be created.
|
|
131
|
+
*/
|
|
132
|
+
apiManagementWorkspaceId: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* Specifies the description for the API Management Workspace Policy Fragment.
|
|
135
|
+
*/
|
|
136
|
+
description?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* Specifies the name of the API Management Workspace Policy Fragment. Changing this forces a new resource to be created.
|
|
139
|
+
*/
|
|
140
|
+
name?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* Specifies the XML content of the API Management Workspace Policy Fragment.
|
|
143
|
+
*/
|
|
144
|
+
xmlContent: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* Specifies the XML format of the API Management Workspace Policy Fragment. Possible values are `xml` or `rawxml`. Defaults to `xml`.
|
|
147
|
+
*/
|
|
148
|
+
xmlFormat?: pulumi.Input<string>;
|
|
149
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.WorkspacePolicyFragment = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages an API Management Workspace Policy Fragment.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as azure from "@pulumi/azure";
|
|
16
|
+
* import * as std from "@pulumi/std";
|
|
17
|
+
*
|
|
18
|
+
* const example = new azure.core.ResourceGroup("example", {
|
|
19
|
+
* name: "example-resources",
|
|
20
|
+
* location: "West Europe",
|
|
21
|
+
* });
|
|
22
|
+
* const exampleService = new azure.apimanagement.Service("example", {
|
|
23
|
+
* name: "example-apim",
|
|
24
|
+
* location: example.location,
|
|
25
|
+
* resourceGroupName: example.name,
|
|
26
|
+
* publisherName: "pub1",
|
|
27
|
+
* publisherEmail: "pub1@email.com",
|
|
28
|
+
* skuName: "Premium_1",
|
|
29
|
+
* });
|
|
30
|
+
* const exampleWorkspace = new azure.apimanagement.Workspace("example", {
|
|
31
|
+
* name: "example-workspace",
|
|
32
|
+
* apiManagementId: exampleService.id,
|
|
33
|
+
* displayName: "Example Workspace",
|
|
34
|
+
* description: "Example API Management Workspace",
|
|
35
|
+
* });
|
|
36
|
+
* const exampleWorkspacePolicyFragment = new azure.apimanagement.WorkspacePolicyFragment("example", {
|
|
37
|
+
* name: "example-policy-fragment",
|
|
38
|
+
* apiManagementWorkspaceId: exampleWorkspace.id,
|
|
39
|
+
* xmlFormat: "xml",
|
|
40
|
+
* xmlContent: std.file({
|
|
41
|
+
* input: "policy-fragment-1.xml",
|
|
42
|
+
* }).then(invoke => invoke.result),
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ## API Providers
|
|
47
|
+
*
|
|
48
|
+
* <!-- This section is generated, changes will be overwritten -->
|
|
49
|
+
* This resource uses the following Azure API Providers:
|
|
50
|
+
*
|
|
51
|
+
* * `Microsoft.ApiManagement` - 2024-05-01
|
|
52
|
+
*
|
|
53
|
+
* ## Import
|
|
54
|
+
*
|
|
55
|
+
* API Management Workspace Policy Fragments can be imported using the `resource id`, e.g.
|
|
56
|
+
*
|
|
57
|
+
* ```sh
|
|
58
|
+
* $ pulumi import azure:apimanagement/workspacePolicyFragment:WorkspacePolicyFragment example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ApiManagement/service/instance1/workspaces/workspace1/policyFragments/policyFragment1
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
class WorkspacePolicyFragment extends pulumi.CustomResource {
|
|
62
|
+
/**
|
|
63
|
+
* Get an existing WorkspacePolicyFragment resource's state with the given name, ID, and optional extra
|
|
64
|
+
* properties used to qualify the lookup.
|
|
65
|
+
*
|
|
66
|
+
* @param name The _unique_ name of the resulting resource.
|
|
67
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
68
|
+
* @param state Any extra arguments used during the lookup.
|
|
69
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
70
|
+
*/
|
|
71
|
+
static get(name, id, state, opts) {
|
|
72
|
+
return new WorkspacePolicyFragment(name, state, { ...opts, id: id });
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Returns true if the given object is an instance of WorkspacePolicyFragment. This is designed to work even
|
|
76
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
77
|
+
*/
|
|
78
|
+
static isInstance(obj) {
|
|
79
|
+
if (obj === undefined || obj === null) {
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
return obj['__pulumiType'] === WorkspacePolicyFragment.__pulumiType;
|
|
83
|
+
}
|
|
84
|
+
constructor(name, argsOrState, opts) {
|
|
85
|
+
let resourceInputs = {};
|
|
86
|
+
opts = opts || {};
|
|
87
|
+
if (opts.id) {
|
|
88
|
+
const state = argsOrState;
|
|
89
|
+
resourceInputs["apiManagementWorkspaceId"] = state?.apiManagementWorkspaceId;
|
|
90
|
+
resourceInputs["description"] = state?.description;
|
|
91
|
+
resourceInputs["name"] = state?.name;
|
|
92
|
+
resourceInputs["xmlContent"] = state?.xmlContent;
|
|
93
|
+
resourceInputs["xmlFormat"] = state?.xmlFormat;
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
const args = argsOrState;
|
|
97
|
+
if (args?.apiManagementWorkspaceId === undefined && !opts.urn) {
|
|
98
|
+
throw new Error("Missing required property 'apiManagementWorkspaceId'");
|
|
99
|
+
}
|
|
100
|
+
if (args?.xmlContent === undefined && !opts.urn) {
|
|
101
|
+
throw new Error("Missing required property 'xmlContent'");
|
|
102
|
+
}
|
|
103
|
+
resourceInputs["apiManagementWorkspaceId"] = args?.apiManagementWorkspaceId;
|
|
104
|
+
resourceInputs["description"] = args?.description;
|
|
105
|
+
resourceInputs["name"] = args?.name;
|
|
106
|
+
resourceInputs["xmlContent"] = args?.xmlContent;
|
|
107
|
+
resourceInputs["xmlFormat"] = args?.xmlFormat;
|
|
108
|
+
}
|
|
109
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
110
|
+
super(WorkspacePolicyFragment.__pulumiType, name, resourceInputs, opts);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.WorkspacePolicyFragment = WorkspacePolicyFragment;
|
|
114
|
+
/** @internal */
|
|
115
|
+
WorkspacePolicyFragment.__pulumiType = 'azure:apimanagement/workspacePolicyFragment:WorkspacePolicyFragment';
|
|
116
|
+
//# sourceMappingURL=workspacePolicyFragment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspacePolicyFragment.js","sourceRoot":"","sources":["../../apimanagement/workspacePolicyFragment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9E,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,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;YACtE,cAAc,CAAC,0BAA0B,CAAC,GAAG,KAAK,EAAE,wBAAwB,CAAC;YAC7E,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;SAClD;aAAM;YACH,MAAM,IAAI,GAAG,WAAsD,CAAC;YACpE,IAAI,IAAI,EAAE,wBAAwB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,sDAAsD,CAAC,CAAC;aAC3E;YACD,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AAnFL,0DAoFC;AAtEG,gBAAgB;AACO,oCAAY,GAAG,qEAAqE,CAAC"}
|