@distilled.cloud/azure 0.6.0 → 0.7.0
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/lib/services/advisor.d.ts +246 -0
- package/lib/services/advisor.d.ts.map +1 -1
- package/lib/services/advisor.js +367 -0
- package/lib/services/advisor.js.map +1 -1
- package/lib/services/apicenter.d.ts +26 -0
- package/lib/services/apicenter.d.ts.map +1 -1
- package/lib/services/apicenter.js +30 -0
- package/lib/services/apicenter.js.map +1 -1
- package/lib/services/apimanagement.d.ts +138 -0
- package/lib/services/apimanagement.d.ts.map +1 -1
- package/lib/services/apimanagement.js +177 -0
- package/lib/services/apimanagement.js.map +1 -1
- package/lib/services/app.d.ts +143 -0
- package/lib/services/app.d.ts.map +1 -1
- package/lib/services/app.js +216 -0
- package/lib/services/app.js.map +1 -1
- package/lib/services/appcomplianceautomation.d.ts +26 -0
- package/lib/services/appcomplianceautomation.d.ts.map +1 -1
- package/lib/services/appcomplianceautomation.js +33 -0
- package/lib/services/appcomplianceautomation.js.map +1 -1
- package/lib/services/applicationinsights.d.ts +203 -0
- package/lib/services/applicationinsights.d.ts.map +1 -1
- package/lib/services/applicationinsights.js +298 -0
- package/lib/services/applicationinsights.js.map +1 -1
- package/lib/services/attestation.d.ts +142 -0
- package/lib/services/attestation.d.ts.map +1 -1
- package/lib/services/attestation.js +202 -0
- package/lib/services/attestation.js.map +1 -1
- package/lib/services/automanage.d.ts +26 -0
- package/lib/services/automanage.d.ts.map +1 -1
- package/lib/services/automanage.js +30 -0
- package/lib/services/automanage.js.map +1 -1
- package/lib/services/automation.d.ts +161 -0
- package/lib/services/automation.d.ts.map +1 -1
- package/lib/services/automation.js +214 -0
- package/lib/services/automation.js.map +1 -1
- package/lib/services/awsconnector.d.ts +106 -0
- package/lib/services/awsconnector.d.ts.map +1 -1
- package/lib/services/awsconnector.js +128 -0
- package/lib/services/awsconnector.js.map +1 -1
- package/lib/services/azuredatatransfer.d.ts +26 -0
- package/lib/services/azuredatatransfer.d.ts.map +1 -1
- package/lib/services/azuredatatransfer.js +33 -0
- package/lib/services/azuredatatransfer.js.map +1 -1
- package/lib/services/azurefleet.d.ts +26 -0
- package/lib/services/azurefleet.d.ts.map +1 -1
- package/lib/services/azurefleet.js +30 -0
- package/lib/services/azurefleet.js.map +1 -1
- package/lib/services/azurelargeinstance.d.ts +194 -0
- package/lib/services/azurelargeinstance.d.ts.map +1 -1
- package/lib/services/azurelargeinstance.js +228 -0
- package/lib/services/azurelargeinstance.js.map +1 -1
- package/lib/services/azurestackhci.d.ts +26 -0
- package/lib/services/azurestackhci.d.ts.map +1 -1
- package/lib/services/azurestackhci.js +33 -0
- package/lib/services/azurestackhci.js.map +1 -1
- package/lib/services/batch.d.ts +21 -0
- package/lib/services/batch.d.ts.map +1 -1
- package/lib/services/batch.js +31 -0
- package/lib/services/batch.js.map +1 -1
- package/lib/services/billing.d.ts +203 -0
- package/lib/services/billing.d.ts.map +1 -1
- package/lib/services/billing.js +283 -0
- package/lib/services/billing.js.map +1 -1
- package/lib/services/billingbenefits.d.ts +261 -0
- package/lib/services/billingbenefits.d.ts.map +1 -1
- package/lib/services/billingbenefits.js +383 -0
- package/lib/services/billingbenefits.js.map +1 -1
- package/lib/services/carbon.d.ts +26 -0
- package/lib/services/carbon.d.ts.map +1 -1
- package/lib/services/carbon.js +30 -0
- package/lib/services/carbon.js.map +1 -1
- package/lib/services/cdn.d.ts +29 -0
- package/lib/services/cdn.d.ts.map +1 -1
- package/lib/services/cdn.js +48 -0
- package/lib/services/cdn.js.map +1 -1
- package/lib/services/chaos.d.ts +82 -0
- package/lib/services/chaos.d.ts.map +1 -1
- package/lib/services/chaos.js +96 -0
- package/lib/services/chaos.js.map +1 -1
- package/lib/services/codesigning.d.ts +26 -0
- package/lib/services/codesigning.d.ts.map +1 -1
- package/lib/services/codesigning.js +33 -0
- package/lib/services/codesigning.js.map +1 -1
- package/lib/services/cognitiveservices.d.ts +1761 -213
- package/lib/services/cognitiveservices.d.ts.map +1 -1
- package/lib/services/cognitiveservices.js +2350 -304
- package/lib/services/cognitiveservices.js.map +1 -1
- package/lib/services/communication.d.ts +28 -0
- package/lib/services/communication.d.ts.map +1 -1
- package/lib/services/communication.js +35 -0
- package/lib/services/communication.js.map +1 -1
- package/lib/services/communitytraining.d.ts +26 -0
- package/lib/services/communitytraining.d.ts.map +1 -1
- package/lib/services/communitytraining.js +30 -0
- package/lib/services/communitytraining.js.map +1 -1
- package/lib/services/compute.d.ts +454 -0
- package/lib/services/compute.d.ts.map +1 -1
- package/lib/services/compute.js +569 -0
- package/lib/services/compute.js.map +1 -1
- package/lib/services/computelimit.d.ts +26 -0
- package/lib/services/computelimit.d.ts.map +1 -1
- package/lib/services/computelimit.js +33 -0
- package/lib/services/computelimit.js.map +1 -1
- package/lib/services/computeschedule.d.ts +26 -0
- package/lib/services/computeschedule.d.ts.map +1 -1
- package/lib/services/computeschedule.js +33 -0
- package/lib/services/computeschedule.js.map +1 -1
- package/lib/services/consumption.d.ts +503 -0
- package/lib/services/consumption.d.ts.map +1 -1
- package/lib/services/consumption.js +752 -9
- package/lib/services/consumption.js.map +1 -1
- package/lib/services/containerregistry.d.ts +65 -0
- package/lib/services/containerregistry.d.ts.map +1 -1
- package/lib/services/containerregistry.js +95 -0
- package/lib/services/containerregistry.js.map +1 -1
- package/lib/services/contosowidgetmanager.d.ts +26 -0
- package/lib/services/contosowidgetmanager.d.ts.map +1 -1
- package/lib/services/contosowidgetmanager.js +30 -0
- package/lib/services/contosowidgetmanager.js.map +1 -1
- package/lib/services/cost-management.d.ts +136 -0
- package/lib/services/cost-management.d.ts.map +1 -1
- package/lib/services/cost-management.js +216 -0
- package/lib/services/cost-management.js.map +1 -1
- package/lib/services/dashboard.d.ts +26 -0
- package/lib/services/dashboard.d.ts.map +1 -1
- package/lib/services/dashboard.js +30 -0
- package/lib/services/dashboard.js.map +1 -1
- package/lib/services/databasewatcher.d.ts +26 -0
- package/lib/services/databasewatcher.d.ts.map +1 -1
- package/lib/services/databasewatcher.js +33 -0
- package/lib/services/databasewatcher.js.map +1 -1
- package/lib/services/datafactory.d.ts +180 -0
- package/lib/services/datafactory.d.ts.map +1 -1
- package/lib/services/datafactory.js +240 -0
- package/lib/services/datafactory.js.map +1 -1
- package/lib/services/datamigration.d.ts +534 -0
- package/lib/services/datamigration.d.ts.map +1 -1
- package/lib/services/datamigration.js +731 -0
- package/lib/services/datamigration.js.map +1 -1
- package/lib/services/dataprotection.d.ts +26 -0
- package/lib/services/dataprotection.d.ts.map +1 -1
- package/lib/services/dataprotection.js +36 -0
- package/lib/services/dataprotection.js.map +1 -1
- package/lib/services/desktopvirtualization.d.ts +2064 -163
- package/lib/services/desktopvirtualization.d.ts.map +1 -1
- package/lib/services/desktopvirtualization.js +2659 -186
- package/lib/services/desktopvirtualization.js.map +1 -1
- package/lib/services/devcenter.d.ts +1148 -7
- package/lib/services/devcenter.d.ts.map +1 -1
- package/lib/services/devcenter.js +1647 -36
- package/lib/services/devcenter.js.map +1 -1
- package/lib/services/developerhub.d.ts +28 -0
- package/lib/services/developerhub.d.ts.map +1 -1
- package/lib/services/developerhub.js +32 -0
- package/lib/services/developerhub.js.map +1 -1
- package/lib/services/deviceregistry.d.ts +82 -0
- package/lib/services/deviceregistry.d.ts.map +1 -1
- package/lib/services/deviceregistry.js +98 -0
- package/lib/services/deviceregistry.js.map +1 -1
- package/lib/services/deviceupdate.d.ts +105 -0
- package/lib/services/deviceupdate.d.ts.map +1 -1
- package/lib/services/deviceupdate.js +152 -0
- package/lib/services/deviceupdate.js.map +1 -1
- package/lib/services/devopsinfrastructure.d.ts +26 -0
- package/lib/services/devopsinfrastructure.d.ts.map +1 -1
- package/lib/services/devopsinfrastructure.js +33 -0
- package/lib/services/devopsinfrastructure.js.map +1 -1
- package/lib/services/devtestlabs.d.ts +92 -0
- package/lib/services/devtestlabs.d.ts.map +1 -1
- package/lib/services/devtestlabs.js +121 -0
- package/lib/services/devtestlabs.js.map +1 -1
- package/lib/services/dnc.d.ts +26 -0
- package/lib/services/dnc.d.ts.map +1 -1
- package/lib/services/dnc.js +33 -0
- package/lib/services/dnc.js.map +1 -1
- package/lib/services/durabletask.d.ts +233 -0
- package/lib/services/durabletask.d.ts.map +1 -1
- package/lib/services/durabletask.js +318 -0
- package/lib/services/durabletask.js.map +1 -1
- package/lib/services/edge.d.ts +26 -0
- package/lib/services/edge.d.ts.map +1 -1
- package/lib/services/edge.js +30 -0
- package/lib/services/edge.js.map +1 -1
- package/lib/services/edgemarketplace.d.ts +26 -0
- package/lib/services/edgemarketplace.d.ts.map +1 -1
- package/lib/services/edgemarketplace.js +33 -0
- package/lib/services/edgemarketplace.js.map +1 -1
- package/lib/services/edgeorder.d.ts +26 -0
- package/lib/services/edgeorder.d.ts.map +1 -1
- package/lib/services/edgeorder.js +30 -0
- package/lib/services/edgeorder.js.map +1 -1
- package/lib/services/elasticsan.d.ts +59 -0
- package/lib/services/elasticsan.d.ts.map +1 -1
- package/lib/services/elasticsan.js +83 -0
- package/lib/services/elasticsan.js.map +1 -1
- package/lib/services/fabric.d.ts +26 -0
- package/lib/services/fabric.d.ts.map +1 -1
- package/lib/services/fabric.js +30 -0
- package/lib/services/fabric.js.map +1 -1
- package/lib/services/fist.d.ts +26 -0
- package/lib/services/fist.d.ts.map +1 -1
- package/lib/services/fist.js +33 -0
- package/lib/services/fist.js.map +1 -1
- package/lib/services/graphservicesprod.d.ts +26 -0
- package/lib/services/graphservicesprod.d.ts.map +1 -1
- package/lib/services/graphservicesprod.js +33 -0
- package/lib/services/graphservicesprod.js.map +1 -1
- package/lib/services/hardwaresecuritymodules.d.ts +333 -0
- package/lib/services/hardwaresecuritymodules.d.ts.map +1 -1
- package/lib/services/hardwaresecuritymodules.js +418 -0
- package/lib/services/hardwaresecuritymodules.js.map +1 -1
- package/lib/services/healthcareapis.d.ts +268 -0
- package/lib/services/healthcareapis.d.ts.map +1 -1
- package/lib/services/healthcareapis.js +377 -0
- package/lib/services/healthcareapis.js.map +1 -1
- package/lib/services/healthdataaiservices.d.ts +26 -0
- package/lib/services/healthdataaiservices.d.ts.map +1 -1
- package/lib/services/healthdataaiservices.js +33 -0
- package/lib/services/healthdataaiservices.js.map +1 -1
- package/lib/services/help.d.ts +22 -0
- package/lib/services/help.d.ts.map +1 -1
- package/lib/services/help.js +26 -0
- package/lib/services/help.js.map +1 -1
- package/lib/services/hybridaks.d.ts +26 -0
- package/lib/services/hybridaks.d.ts.map +1 -1
- package/lib/services/hybridaks.js +33 -0
- package/lib/services/hybridaks.js.map +1 -1
- package/lib/services/hybridcompute.d.ts +109 -0
- package/lib/services/hybridcompute.d.ts.map +1 -1
- package/lib/services/hybridcompute.js +146 -0
- package/lib/services/hybridcompute.js.map +1 -1
- package/lib/services/hybridconnectivity.d.ts +134 -0
- package/lib/services/hybridconnectivity.d.ts.map +1 -1
- package/lib/services/hybridconnectivity.js +161 -0
- package/lib/services/hybridconnectivity.js.map +1 -1
- package/lib/services/hybridnetwork.d.ts +26 -0
- package/lib/services/hybridnetwork.d.ts.map +1 -1
- package/lib/services/hybridnetwork.js +33 -0
- package/lib/services/hybridnetwork.js.map +1 -1
- package/lib/services/iotoperations.d.ts +26 -0
- package/lib/services/iotoperations.d.ts.map +1 -1
- package/lib/services/iotoperations.js +33 -0
- package/lib/services/iotoperations.js.map +1 -1
- package/lib/services/keyvault.d.ts +33 -0
- package/lib/services/keyvault.d.ts.map +1 -1
- package/lib/services/keyvault.js +37 -0
- package/lib/services/keyvault.js.map +1 -1
- package/lib/services/kubernetesconfiguration.d.ts +145 -0
- package/lib/services/kubernetesconfiguration.d.ts.map +1 -1
- package/lib/services/kubernetesconfiguration.js +173 -0
- package/lib/services/kubernetesconfiguration.js.map +1 -1
- package/lib/services/kubernetesruntime.d.ts +26 -0
- package/lib/services/kubernetesruntime.d.ts.map +1 -1
- package/lib/services/kubernetesruntime.js +33 -0
- package/lib/services/kubernetesruntime.js.map +1 -1
- package/lib/services/labservices.d.ts +60 -0
- package/lib/services/labservices.d.ts.map +1 -1
- package/lib/services/labservices.js +82 -0
- package/lib/services/labservices.js.map +1 -1
- package/lib/services/liftrweightsandbiases.d.ts +26 -0
- package/lib/services/liftrweightsandbiases.d.ts.map +1 -1
- package/lib/services/liftrweightsandbiases.js +33 -0
- package/lib/services/liftrweightsandbiases.js.map +1 -1
- package/lib/services/loadtestservice.d.ts +26 -0
- package/lib/services/loadtestservice.d.ts.map +1 -1
- package/lib/services/loadtestservice.js +33 -0
- package/lib/services/loadtestservice.js.map +1 -1
- package/lib/services/machinelearningservices.d.ts +71 -0
- package/lib/services/machinelearningservices.d.ts.map +1 -1
- package/lib/services/machinelearningservices.js +97 -0
- package/lib/services/machinelearningservices.js.map +1 -1
- package/lib/services/managednetworkfabric.d.ts +1156 -0
- package/lib/services/managednetworkfabric.d.ts.map +1 -1
- package/lib/services/managednetworkfabric.js +1590 -57
- package/lib/services/managednetworkfabric.js.map +1 -1
- package/lib/services/management.d.ts +26 -0
- package/lib/services/management.d.ts.map +1 -1
- package/lib/services/management.js +30 -0
- package/lib/services/management.js.map +1 -1
- package/lib/services/manufacturingplatform.d.ts +26 -0
- package/lib/services/manufacturingplatform.d.ts.map +1 -1
- package/lib/services/manufacturingplatform.js +33 -0
- package/lib/services/manufacturingplatform.js.map +1 -1
- package/lib/services/marketplacecatalog.d.ts +26 -0
- package/lib/services/marketplacecatalog.d.ts.map +1 -1
- package/lib/services/marketplacecatalog.js +33 -0
- package/lib/services/marketplacecatalog.js.map +1 -1
- package/lib/services/migrate.d.ts +26 -0
- package/lib/services/migrate.d.ts.map +1 -1
- package/lib/services/migrate.js +30 -0
- package/lib/services/migrate.js.map +1 -1
- package/lib/services/mongocluster.d.ts +26 -0
- package/lib/services/mongocluster.d.ts.map +1 -1
- package/lib/services/mongocluster.js +30 -0
- package/lib/services/mongocluster.js.map +1 -1
- package/lib/services/monitor.d.ts +18 -240
- package/lib/services/monitor.d.ts.map +1 -1
- package/lib/services/monitor.js +19 -360
- package/lib/services/monitor.js.map +1 -1
- package/lib/services/mysql.d.ts +282 -0
- package/lib/services/mysql.d.ts.map +1 -1
- package/lib/services/mysql.js +369 -0
- package/lib/services/mysql.js.map +1 -1
- package/lib/services/network.d.ts +46 -0
- package/lib/services/network.d.ts.map +1 -1
- package/lib/services/network.js +56 -0
- package/lib/services/network.js.map +1 -1
- package/lib/services/networkcloud.d.ts +26 -0
- package/lib/services/networkcloud.d.ts.map +1 -1
- package/lib/services/networkcloud.js +33 -0
- package/lib/services/networkcloud.js.map +1 -1
- package/lib/services/operationalinsights.d.ts +57 -0
- package/lib/services/operationalinsights.d.ts.map +1 -1
- package/lib/services/operationalinsights.js +74 -0
- package/lib/services/operationalinsights.js.map +1 -1
- package/lib/services/orbital.d.ts +26 -0
- package/lib/services/orbital.d.ts.map +1 -1
- package/lib/services/orbital.js +30 -0
- package/lib/services/orbital.js.map +1 -1
- package/lib/services/peering.d.ts +153 -0
- package/lib/services/peering.d.ts.map +1 -1
- package/lib/services/peering.js +258 -0
- package/lib/services/peering.js.map +1 -1
- package/lib/services/playwrighttesting.d.ts +26 -0
- package/lib/services/playwrighttesting.d.ts.map +1 -1
- package/lib/services/playwrighttesting.js +33 -0
- package/lib/services/playwrighttesting.js.map +1 -1
- package/lib/services/portalservices.d.ts +26 -0
- package/lib/services/portalservices.d.ts.map +1 -1
- package/lib/services/portalservices.js +33 -0
- package/lib/services/portalservices.js.map +1 -1
- package/lib/services/postgresql.d.ts +98 -0
- package/lib/services/postgresql.d.ts.map +1 -1
- package/lib/services/postgresql.js +138 -0
- package/lib/services/postgresql.js.map +1 -1
- package/lib/services/postgresqlhsc.d.ts +157 -0
- package/lib/services/postgresqlhsc.d.ts.map +1 -1
- package/lib/services/postgresqlhsc.js +226 -0
- package/lib/services/postgresqlhsc.js.map +1 -1
- package/lib/services/powerbiprivatelinks.d.ts +55 -0
- package/lib/services/powerbiprivatelinks.d.ts.map +1 -1
- package/lib/services/powerbiprivatelinks.js +69 -0
- package/lib/services/powerbiprivatelinks.js.map +1 -1
- package/lib/services/recommendationsservice.d.ts +80 -0
- package/lib/services/recommendationsservice.d.ts.map +1 -1
- package/lib/services/recommendationsservice.js +96 -0
- package/lib/services/recommendationsservice.js.map +1 -1
- package/lib/services/recoveryservicesbackup.d.ts +803 -0
- package/lib/services/recoveryservicesbackup.d.ts.map +1 -1
- package/lib/services/recoveryservicesbackup.js +1069 -41
- package/lib/services/recoveryservicesbackup.js.map +1 -1
- package/lib/services/recoveryservicesdatareplication.d.ts +26 -0
- package/lib/services/recoveryservicesdatareplication.d.ts.map +1 -1
- package/lib/services/recoveryservicesdatareplication.js +33 -0
- package/lib/services/recoveryservicesdatareplication.js.map +1 -1
- package/lib/services/recoveryservicessiterecovery.d.ts +94 -0
- package/lib/services/recoveryservicessiterecovery.d.ts.map +1 -1
- package/lib/services/recoveryservicessiterecovery.js +123 -0
- package/lib/services/recoveryservicessiterecovery.js.map +1 -1
- package/lib/services/redis.d.ts +251 -0
- package/lib/services/redis.d.ts.map +1 -1
- package/lib/services/redis.js +327 -0
- package/lib/services/redis.js.map +1 -1
- package/lib/services/redisenterprise.d.ts +140 -0
- package/lib/services/redisenterprise.d.ts.map +1 -1
- package/lib/services/redisenterprise.js +183 -0
- package/lib/services/redisenterprise.js.map +1 -1
- package/lib/services/relay.d.ts +26 -0
- package/lib/services/relay.d.ts.map +1 -1
- package/lib/services/relay.js +30 -0
- package/lib/services/relay.js.map +1 -1
- package/lib/services/resources.d.ts +6034 -232
- package/lib/services/resources.d.ts.map +1 -1
- package/lib/services/resources.js +8783 -878
- package/lib/services/resources.js.map +1 -1
- package/lib/services/scvmm.d.ts +26 -0
- package/lib/services/scvmm.d.ts.map +1 -1
- package/lib/services/scvmm.js +30 -0
- package/lib/services/scvmm.js.map +1 -1
- package/lib/services/search.d.ts +34 -0
- package/lib/services/search.d.ts.map +1 -1
- package/lib/services/search.js +54 -0
- package/lib/services/search.js.map +1 -1
- package/lib/services/security.d.ts +132 -0
- package/lib/services/security.d.ts.map +1 -1
- package/lib/services/security.js +181 -0
- package/lib/services/security.js.map +1 -1
- package/lib/services/securityinsights.d.ts +236 -0
- package/lib/services/securityinsights.d.ts.map +1 -1
- package/lib/services/securityinsights.js +402 -0
- package/lib/services/securityinsights.js.map +1 -1
- package/lib/services/servicelinker.d.ts +26 -0
- package/lib/services/servicelinker.d.ts.map +1 -1
- package/lib/services/servicelinker.js +33 -0
- package/lib/services/servicelinker.js.map +1 -1
- package/lib/services/servicenetworking.d.ts +26 -0
- package/lib/services/servicenetworking.d.ts.map +1 -1
- package/lib/services/servicenetworking.js +33 -0
- package/lib/services/servicenetworking.js.map +1 -1
- package/lib/services/solutions.d.ts +26 -0
- package/lib/services/solutions.d.ts.map +1 -1
- package/lib/services/solutions.js +30 -0
- package/lib/services/solutions.js.map +1 -1
- package/lib/services/sphere.d.ts +26 -0
- package/lib/services/sphere.d.ts.map +1 -1
- package/lib/services/sphere.js +33 -0
- package/lib/services/sphere.js.map +1 -1
- package/lib/services/standbypool.d.ts +26 -0
- package/lib/services/standbypool.d.ts.map +1 -1
- package/lib/services/standbypool.js +33 -0
- package/lib/services/standbypool.js.map +1 -1
- package/lib/services/storage.d.ts +69 -0
- package/lib/services/storage.d.ts.map +1 -1
- package/lib/services/storage.js +96 -0
- package/lib/services/storage.js.map +1 -1
- package/lib/services/storageactions.d.ts +26 -0
- package/lib/services/storageactions.d.ts.map +1 -1
- package/lib/services/storageactions.js +33 -0
- package/lib/services/storageactions.js.map +1 -1
- package/lib/services/storagediscovery.d.ts +26 -0
- package/lib/services/storagediscovery.d.ts.map +1 -1
- package/lib/services/storagediscovery.js +33 -0
- package/lib/services/storagediscovery.js.map +1 -1
- package/lib/services/storagemover.d.ts +26 -0
- package/lib/services/storagemover.d.ts.map +1 -1
- package/lib/services/storagemover.js +33 -0
- package/lib/services/storagemover.js.map +1 -1
- package/lib/services/storagesync.d.ts +142 -0
- package/lib/services/storagesync.d.ts.map +1 -1
- package/lib/services/storagesync.js +202 -0
- package/lib/services/storagesync.js.map +1 -1
- package/lib/services/support.d.ts +26 -0
- package/lib/services/support.d.ts.map +1 -1
- package/lib/services/support.js +30 -0
- package/lib/services/support.js.map +1 -1
- package/lib/services/synapse.d.ts +140 -0
- package/lib/services/synapse.d.ts.map +1 -1
- package/lib/services/synapse.js +190 -0
- package/lib/services/synapse.js.map +1 -1
- package/lib/services/vi.d.ts +163 -0
- package/lib/services/vi.d.ts.map +1 -1
- package/lib/services/vi.js +232 -0
- package/lib/services/vi.js.map +1 -1
- package/lib/services/vmware.d.ts +54 -0
- package/lib/services/vmware.d.ts.map +1 -1
- package/lib/services/vmware.js +68 -0
- package/lib/services/vmware.js.map +1 -1
- package/lib/services/voiceservices.d.ts +26 -0
- package/lib/services/voiceservices.d.ts.map +1 -1
- package/lib/services/voiceservices.js +33 -0
- package/lib/services/voiceservices.js.map +1 -1
- package/lib/services/widget.d.ts +26 -0
- package/lib/services/widget.d.ts.map +1 -1
- package/lib/services/widget.js +30 -0
- package/lib/services/widget.js.map +1 -1
- package/lib/services/workloads.d.ts +1081 -33
- package/lib/services/workloads.d.ts.map +1 -1
- package/lib/services/workloads.js +1249 -36
- package/lib/services/workloads.js.map +1 -1
- package/package.json +2 -2
- package/src/services/advisor.ts +501 -0
- package/src/services/apicenter.ts +44 -0
- package/src/services/apimanagement.ts +237 -0
- package/src/services/app.ts +290 -0
- package/src/services/appcomplianceautomation.ts +47 -0
- package/src/services/applicationinsights.ts +417 -0
- package/src/services/attestation.ts +270 -0
- package/src/services/automanage.ts +44 -0
- package/src/services/automation.ts +285 -0
- package/src/services/awsconnector.ts +174 -0
- package/src/services/azuredatatransfer.ts +47 -0
- package/src/services/azurefleet.ts +44 -0
- package/src/services/azurelargeinstance.ts +320 -0
- package/src/services/azurestackhci.ts +47 -0
- package/src/services/batch.ts +39 -0
- package/src/services/billing.ts +367 -0
- package/src/services/billingbenefits.ts +561 -0
- package/src/services/carbon.ts +44 -0
- package/src/services/cdn.ts +62 -0
- package/src/services/chaos.ts +136 -0
- package/src/services/codesigning.ts +47 -0
- package/src/services/cognitiveservices.ts +3177 -579
- package/src/services/communication.ts +49 -0
- package/src/services/communitytraining.ts +44 -0
- package/src/services/compute.ts +811 -0
- package/src/services/computelimit.ts +47 -0
- package/src/services/computeschedule.ts +47 -0
- package/src/services/consumption.ts +1020 -16
- package/src/services/containerregistry.ts +127 -0
- package/src/services/contosowidgetmanager.ts +44 -0
- package/src/services/cost-management.ts +296 -0
- package/src/services/dashboard.ts +44 -0
- package/src/services/databasewatcher.ts +47 -0
- package/src/services/datafactory.ts +324 -0
- package/src/services/datamigration.ts +1038 -9
- package/src/services/dataprotection.ts +52 -0
- package/src/services/desktopvirtualization.ts +3687 -350
- package/src/services/devcenter.ts +2956 -728
- package/src/services/developerhub.ts +46 -0
- package/src/services/deviceregistry.ts +134 -0
- package/src/services/deviceupdate.ts +220 -0
- package/src/services/devopsinfrastructure.ts +47 -0
- package/src/services/devtestlabs.ts +167 -0
- package/src/services/dnc.ts +47 -0
- package/src/services/durabletask.ts +432 -0
- package/src/services/edge.ts +44 -0
- package/src/services/edgemarketplace.ts +47 -0
- package/src/services/edgeorder.ts +44 -0
- package/src/services/elasticsan.ts +113 -0
- package/src/services/fabric.ts +44 -0
- package/src/services/fist.ts +47 -0
- package/src/services/graphservicesprod.ts +47 -0
- package/src/services/hardwaresecuritymodules.ts +611 -0
- package/src/services/healthcareapis.ts +539 -0
- package/src/services/healthdataaiservices.ts +47 -0
- package/src/services/help.ts +40 -0
- package/src/services/hybridaks.ts +47 -0
- package/src/services/hybridcompute.ts +205 -0
- package/src/services/hybridconnectivity.ts +223 -0
- package/src/services/hybridnetwork.ts +47 -0
- package/src/services/iotoperations.ts +47 -0
- package/src/services/keyvault.ts +51 -0
- package/src/services/kubernetesconfiguration.ts +245 -0
- package/src/services/kubernetesruntime.ts +47 -0
- package/src/services/labservices.ts +118 -0
- package/src/services/liftrweightsandbiases.ts +47 -0
- package/src/services/loadtestservice.ts +47 -0
- package/src/services/machinelearningservices.ts +131 -0
- package/src/services/managednetworkfabric.ts +2136 -44
- package/src/services/management.ts +44 -0
- package/src/services/manufacturingplatform.ts +47 -0
- package/src/services/marketplacecatalog.ts +47 -0
- package/src/services/migrate.ts +44 -0
- package/src/services/mongocluster.ts +44 -0
- package/src/services/monitor.ts +29 -468
- package/src/services/mysql.ts +501 -0
- package/src/services/network.ts +80 -0
- package/src/services/networkcloud.ts +47 -0
- package/src/services/operationalinsights.ts +98 -0
- package/src/services/orbital.ts +44 -0
- package/src/services/peering.ts +348 -0
- package/src/services/playwrighttesting.ts +47 -0
- package/src/services/portalservices.ts +47 -0
- package/src/services/postgresql.ts +184 -0
- package/src/services/postgresqlhsc.ts +314 -0
- package/src/services/powerbiprivatelinks.ts +107 -0
- package/src/services/recommendationsservice.ts +134 -0
- package/src/services/recoveryservicesbackup.ts +1413 -48
- package/src/services/recoveryservicesdatareplication.ts +47 -0
- package/src/services/recoveryservicessiterecovery.ts +167 -0
- package/src/services/redis.ts +443 -0
- package/src/services/redisenterprise.ts +251 -0
- package/src/services/relay.ts +44 -0
- package/src/services/resources.ts +13393 -1216
- package/src/services/scvmm.ts +44 -0
- package/src/services/search.ts +72 -0
- package/src/services/security.ts +251 -0
- package/src/services/securityinsights.ts +523 -0
- package/src/services/servicelinker.ts +47 -0
- package/src/services/servicenetworking.ts +47 -0
- package/src/services/solutions.ts +44 -0
- package/src/services/sphere.ts +47 -0
- package/src/services/standbypool.ts +47 -0
- package/src/services/storage.ts +128 -0
- package/src/services/storageactions.ts +47 -0
- package/src/services/storagediscovery.ts +47 -0
- package/src/services/storagemover.ts +47 -0
- package/src/services/storagesync.ts +274 -0
- package/src/services/support.ts +44 -0
- package/src/services/synapse.ts +268 -0
- package/src/services/vi.ts +320 -0
- package/src/services/vmware.ts +92 -0
- package/src/services/voiceservices.ts +47 -0
- package/src/services/widget.ts +44 -0
- package/src/services/workloads.ts +1836 -143
|
@@ -288,6 +288,71 @@ export const AppAttachPackageUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
288
288
|
}),
|
|
289
289
|
);
|
|
290
290
|
// Input Schema
|
|
291
|
+
export const ApplicationGroupsCreateOrUpdateInput =
|
|
292
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
293
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
294
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
295
|
+
"api-version": Schema.String,
|
|
296
|
+
}).pipe(
|
|
297
|
+
T.Http({
|
|
298
|
+
method: "PUT",
|
|
299
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}",
|
|
300
|
+
}),
|
|
301
|
+
);
|
|
302
|
+
export type ApplicationGroupsCreateOrUpdateInput =
|
|
303
|
+
typeof ApplicationGroupsCreateOrUpdateInput.Type;
|
|
304
|
+
|
|
305
|
+
// Output Schema
|
|
306
|
+
export const ApplicationGroupsCreateOrUpdateOutput =
|
|
307
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
308
|
+
managedBy: Schema.optional(Schema.String),
|
|
309
|
+
kind: Schema.optional(Schema.String),
|
|
310
|
+
etag: Schema.optional(Schema.String),
|
|
311
|
+
identity: Schema.optional(
|
|
312
|
+
Schema.Struct({
|
|
313
|
+
principalId: Schema.optional(Schema.String),
|
|
314
|
+
tenantId: Schema.optional(Schema.String),
|
|
315
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
316
|
+
}),
|
|
317
|
+
),
|
|
318
|
+
sku: Schema.optional(
|
|
319
|
+
Schema.Struct({
|
|
320
|
+
name: Schema.String,
|
|
321
|
+
tier: Schema.optional(
|
|
322
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
323
|
+
),
|
|
324
|
+
size: Schema.optional(Schema.String),
|
|
325
|
+
family: Schema.optional(Schema.String),
|
|
326
|
+
capacity: Schema.optional(Schema.Number),
|
|
327
|
+
}),
|
|
328
|
+
),
|
|
329
|
+
plan: Schema.optional(
|
|
330
|
+
Schema.Struct({
|
|
331
|
+
name: Schema.String,
|
|
332
|
+
publisher: Schema.String,
|
|
333
|
+
product: Schema.String,
|
|
334
|
+
promotionCode: Schema.optional(Schema.String),
|
|
335
|
+
version: Schema.optional(Schema.String),
|
|
336
|
+
}),
|
|
337
|
+
),
|
|
338
|
+
});
|
|
339
|
+
export type ApplicationGroupsCreateOrUpdateOutput =
|
|
340
|
+
typeof ApplicationGroupsCreateOrUpdateOutput.Type;
|
|
341
|
+
|
|
342
|
+
// The operation
|
|
343
|
+
/**
|
|
344
|
+
* Create or update an applicationGroup.
|
|
345
|
+
*
|
|
346
|
+
* @param api-version - The API version to use for this operation.
|
|
347
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
348
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
349
|
+
*/
|
|
350
|
+
export const ApplicationGroupsCreateOrUpdate =
|
|
351
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
352
|
+
inputSchema: ApplicationGroupsCreateOrUpdateInput,
|
|
353
|
+
outputSchema: ApplicationGroupsCreateOrUpdateOutput,
|
|
354
|
+
}));
|
|
355
|
+
// Input Schema
|
|
291
356
|
export const ApplicationGroupsDeleteInput =
|
|
292
357
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
293
358
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
@@ -323,444 +388,3500 @@ export const ApplicationGroupsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
323
388
|
}),
|
|
324
389
|
);
|
|
325
390
|
// Input Schema
|
|
326
|
-
export const
|
|
391
|
+
export const ApplicationGroupsGetInput =
|
|
327
392
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
328
393
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
329
394
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
330
395
|
"api-version": Schema.String,
|
|
331
396
|
}).pipe(
|
|
332
397
|
T.Http({
|
|
333
|
-
method: "
|
|
334
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}
|
|
398
|
+
method: "GET",
|
|
399
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}",
|
|
335
400
|
}),
|
|
336
401
|
);
|
|
337
|
-
export type
|
|
402
|
+
export type ApplicationGroupsGetInput = typeof ApplicationGroupsGetInput.Type;
|
|
338
403
|
|
|
339
404
|
// Output Schema
|
|
340
|
-
export const
|
|
341
|
-
|
|
405
|
+
export const ApplicationGroupsGetOutput =
|
|
406
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
407
|
+
managedBy: Schema.optional(Schema.String),
|
|
408
|
+
kind: Schema.optional(Schema.String),
|
|
409
|
+
etag: Schema.optional(Schema.String),
|
|
410
|
+
identity: Schema.optional(
|
|
411
|
+
Schema.Struct({
|
|
412
|
+
principalId: Schema.optional(Schema.String),
|
|
413
|
+
tenantId: Schema.optional(Schema.String),
|
|
414
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
415
|
+
}),
|
|
416
|
+
),
|
|
417
|
+
sku: Schema.optional(
|
|
418
|
+
Schema.Struct({
|
|
419
|
+
name: Schema.String,
|
|
420
|
+
tier: Schema.optional(
|
|
421
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
422
|
+
),
|
|
423
|
+
size: Schema.optional(Schema.String),
|
|
424
|
+
family: Schema.optional(Schema.String),
|
|
425
|
+
capacity: Schema.optional(Schema.Number),
|
|
426
|
+
}),
|
|
427
|
+
),
|
|
428
|
+
plan: Schema.optional(
|
|
429
|
+
Schema.Struct({
|
|
430
|
+
name: Schema.String,
|
|
431
|
+
publisher: Schema.String,
|
|
432
|
+
product: Schema.String,
|
|
433
|
+
promotionCode: Schema.optional(Schema.String),
|
|
434
|
+
version: Schema.optional(Schema.String),
|
|
435
|
+
}),
|
|
436
|
+
),
|
|
437
|
+
});
|
|
438
|
+
export type ApplicationGroupsGetOutput = typeof ApplicationGroupsGetOutput.Type;
|
|
342
439
|
|
|
343
440
|
// The operation
|
|
344
441
|
/**
|
|
345
|
-
*
|
|
442
|
+
* Get an application group.
|
|
346
443
|
*
|
|
347
444
|
* @param api-version - The API version to use for this operation.
|
|
348
445
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
349
446
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
350
447
|
*/
|
|
351
|
-
export const
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
// Input Schema
|
|
356
|
-
export const HostPoolsDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
357
|
-
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
358
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
359
|
-
"api-version": Schema.String,
|
|
360
|
-
force: Schema.optional(Schema.Boolean),
|
|
361
|
-
}).pipe(
|
|
362
|
-
T.Http({
|
|
363
|
-
method: "DELETE",
|
|
364
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}",
|
|
448
|
+
export const ApplicationGroupsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
449
|
+
() => ({
|
|
450
|
+
inputSchema: ApplicationGroupsGetInput,
|
|
451
|
+
outputSchema: ApplicationGroupsGetOutput,
|
|
365
452
|
}),
|
|
366
453
|
);
|
|
367
|
-
export type HostPoolsDeleteInput = typeof HostPoolsDeleteInput.Type;
|
|
368
|
-
|
|
369
|
-
// Output Schema
|
|
370
|
-
export const HostPoolsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
371
|
-
export type HostPoolsDeleteOutput = typeof HostPoolsDeleteOutput.Type;
|
|
372
|
-
|
|
373
|
-
// The operation
|
|
374
|
-
/**
|
|
375
|
-
* Remove a host pool.
|
|
376
|
-
*
|
|
377
|
-
* @param api-version - The API version to use for this operation.
|
|
378
|
-
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
379
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
380
|
-
* @param force - Force flag to delete sessionHost.
|
|
381
|
-
*/
|
|
382
|
-
export const HostPoolsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
383
|
-
inputSchema: HostPoolsDeleteInput,
|
|
384
|
-
outputSchema: HostPoolsDeleteOutput,
|
|
385
|
-
}));
|
|
386
454
|
// Input Schema
|
|
387
|
-
export const
|
|
455
|
+
export const ApplicationGroupsListByResourceGroupInput =
|
|
388
456
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
389
457
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
390
458
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
391
459
|
"api-version": Schema.String,
|
|
460
|
+
$filter: Schema.optional(Schema.String),
|
|
461
|
+
pageSize: Schema.optional(Schema.Number),
|
|
462
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
463
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
392
464
|
}).pipe(
|
|
393
465
|
T.Http({
|
|
394
|
-
method: "
|
|
395
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/
|
|
466
|
+
method: "GET",
|
|
467
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups",
|
|
396
468
|
}),
|
|
397
469
|
);
|
|
398
|
-
export type
|
|
399
|
-
typeof
|
|
470
|
+
export type ApplicationGroupsListByResourceGroupInput =
|
|
471
|
+
typeof ApplicationGroupsListByResourceGroupInput.Type;
|
|
400
472
|
|
|
401
473
|
// Output Schema
|
|
402
|
-
export const
|
|
474
|
+
export const ApplicationGroupsListByResourceGroupOutput =
|
|
403
475
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
404
476
|
value: Schema.optional(
|
|
405
477
|
Schema.Array(
|
|
406
478
|
Schema.Struct({
|
|
407
|
-
|
|
408
|
-
|
|
479
|
+
managedBy: Schema.optional(Schema.String),
|
|
480
|
+
kind: Schema.optional(Schema.String),
|
|
481
|
+
etag: Schema.optional(Schema.String),
|
|
482
|
+
identity: Schema.optional(
|
|
483
|
+
Schema.Struct({
|
|
484
|
+
principalId: Schema.optional(Schema.String),
|
|
485
|
+
tenantId: Schema.optional(Schema.String),
|
|
486
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
487
|
+
}),
|
|
488
|
+
),
|
|
489
|
+
sku: Schema.optional(
|
|
490
|
+
Schema.Struct({
|
|
491
|
+
name: Schema.String,
|
|
492
|
+
tier: Schema.optional(
|
|
493
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
494
|
+
),
|
|
495
|
+
size: Schema.optional(Schema.String),
|
|
496
|
+
family: Schema.optional(Schema.String),
|
|
497
|
+
capacity: Schema.optional(Schema.Number),
|
|
498
|
+
}),
|
|
499
|
+
),
|
|
500
|
+
plan: Schema.optional(
|
|
501
|
+
Schema.Struct({
|
|
502
|
+
name: Schema.String,
|
|
503
|
+
publisher: Schema.String,
|
|
504
|
+
product: Schema.String,
|
|
505
|
+
promotionCode: Schema.optional(Schema.String),
|
|
506
|
+
version: Schema.optional(Schema.String),
|
|
507
|
+
}),
|
|
508
|
+
),
|
|
409
509
|
}),
|
|
410
510
|
),
|
|
411
511
|
),
|
|
412
512
|
nextLink: Schema.optional(Schema.String),
|
|
413
513
|
});
|
|
414
|
-
export type
|
|
415
|
-
typeof
|
|
514
|
+
export type ApplicationGroupsListByResourceGroupOutput =
|
|
515
|
+
typeof ApplicationGroupsListByResourceGroupOutput.Type;
|
|
416
516
|
|
|
417
517
|
// The operation
|
|
418
518
|
/**
|
|
419
|
-
*
|
|
519
|
+
* List applicationGroups.
|
|
420
520
|
*
|
|
421
521
|
* @param api-version - The API version to use for this operation.
|
|
422
522
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
423
523
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
524
|
+
* @param $filter - OData filter expression. Valid properties for filtering are applicationGroupType.
|
|
525
|
+
* @param pageSize - Number of items per page.
|
|
526
|
+
* @param isDescending - Indicates whether the collection is descending.
|
|
527
|
+
* @param initialSkip - Initial number of items to skip.
|
|
424
528
|
*/
|
|
425
|
-
export const
|
|
529
|
+
export const ApplicationGroupsListByResourceGroup =
|
|
426
530
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
427
|
-
inputSchema:
|
|
428
|
-
outputSchema:
|
|
531
|
+
inputSchema: ApplicationGroupsListByResourceGroupInput,
|
|
532
|
+
outputSchema: ApplicationGroupsListByResourceGroupOutput,
|
|
429
533
|
}));
|
|
430
534
|
// Input Schema
|
|
431
|
-
export const
|
|
535
|
+
export const ApplicationGroupsListBySubscriptionInput =
|
|
432
536
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
433
537
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
434
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
435
538
|
"api-version": Schema.String,
|
|
539
|
+
$filter: Schema.optional(Schema.String),
|
|
436
540
|
}).pipe(
|
|
437
541
|
T.Http({
|
|
438
|
-
method: "
|
|
439
|
-
path: "/subscriptions/{subscriptionId}/
|
|
542
|
+
method: "GET",
|
|
543
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/applicationGroups",
|
|
440
544
|
}),
|
|
441
545
|
);
|
|
442
|
-
export type
|
|
443
|
-
typeof
|
|
546
|
+
export type ApplicationGroupsListBySubscriptionInput =
|
|
547
|
+
typeof ApplicationGroupsListBySubscriptionInput.Type;
|
|
444
548
|
|
|
445
549
|
// Output Schema
|
|
446
|
-
export const
|
|
550
|
+
export const ApplicationGroupsListBySubscriptionOutput =
|
|
447
551
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
552
|
+
value: Schema.optional(
|
|
553
|
+
Schema.Array(
|
|
554
|
+
Schema.Struct({
|
|
555
|
+
managedBy: Schema.optional(Schema.String),
|
|
556
|
+
kind: Schema.optional(Schema.String),
|
|
557
|
+
etag: Schema.optional(Schema.String),
|
|
558
|
+
identity: Schema.optional(
|
|
559
|
+
Schema.Struct({
|
|
560
|
+
principalId: Schema.optional(Schema.String),
|
|
561
|
+
tenantId: Schema.optional(Schema.String),
|
|
562
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
563
|
+
}),
|
|
564
|
+
),
|
|
565
|
+
sku: Schema.optional(
|
|
566
|
+
Schema.Struct({
|
|
567
|
+
name: Schema.String,
|
|
568
|
+
tier: Schema.optional(
|
|
569
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
570
|
+
),
|
|
571
|
+
size: Schema.optional(Schema.String),
|
|
572
|
+
family: Schema.optional(Schema.String),
|
|
573
|
+
capacity: Schema.optional(Schema.Number),
|
|
574
|
+
}),
|
|
575
|
+
),
|
|
576
|
+
plan: Schema.optional(
|
|
577
|
+
Schema.Struct({
|
|
578
|
+
name: Schema.String,
|
|
579
|
+
publisher: Schema.String,
|
|
580
|
+
product: Schema.String,
|
|
581
|
+
promotionCode: Schema.optional(Schema.String),
|
|
582
|
+
version: Schema.optional(Schema.String),
|
|
583
|
+
}),
|
|
584
|
+
),
|
|
585
|
+
}),
|
|
586
|
+
),
|
|
452
587
|
),
|
|
588
|
+
nextLink: Schema.optional(Schema.String),
|
|
453
589
|
});
|
|
454
|
-
export type
|
|
455
|
-
typeof
|
|
590
|
+
export type ApplicationGroupsListBySubscriptionOutput =
|
|
591
|
+
typeof ApplicationGroupsListBySubscriptionOutput.Type;
|
|
456
592
|
|
|
457
593
|
// The operation
|
|
458
594
|
/**
|
|
459
|
-
*
|
|
595
|
+
* List applicationGroups in subscription.
|
|
460
596
|
*
|
|
461
597
|
* @param api-version - The API version to use for this operation.
|
|
462
598
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
463
|
-
* @param
|
|
599
|
+
* @param $filter - OData filter expression. Valid properties for filtering are applicationGroupType.
|
|
464
600
|
*/
|
|
465
|
-
export const
|
|
601
|
+
export const ApplicationGroupsListBySubscription =
|
|
466
602
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
467
|
-
inputSchema:
|
|
468
|
-
outputSchema:
|
|
603
|
+
inputSchema: ApplicationGroupsListBySubscriptionInput,
|
|
604
|
+
outputSchema: ApplicationGroupsListBySubscriptionOutput,
|
|
469
605
|
}));
|
|
470
606
|
// Input Schema
|
|
471
|
-
export const
|
|
607
|
+
export const ApplicationGroupsUpdateInput =
|
|
472
608
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
473
609
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
474
610
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
475
611
|
"api-version": Schema.String,
|
|
476
612
|
}).pipe(
|
|
477
613
|
T.Http({
|
|
478
|
-
method: "
|
|
479
|
-
path: "/subscriptions/{subscriptionId}/
|
|
614
|
+
method: "PATCH",
|
|
615
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}",
|
|
480
616
|
}),
|
|
481
617
|
);
|
|
482
|
-
export type
|
|
618
|
+
export type ApplicationGroupsUpdateInput =
|
|
619
|
+
typeof ApplicationGroupsUpdateInput.Type;
|
|
483
620
|
|
|
484
621
|
// Output Schema
|
|
485
|
-
export const
|
|
486
|
-
|
|
622
|
+
export const ApplicationGroupsUpdateOutput =
|
|
623
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
624
|
+
managedBy: Schema.optional(Schema.String),
|
|
625
|
+
kind: Schema.optional(Schema.String),
|
|
626
|
+
etag: Schema.optional(Schema.String),
|
|
627
|
+
identity: Schema.optional(
|
|
628
|
+
Schema.Struct({
|
|
629
|
+
principalId: Schema.optional(Schema.String),
|
|
630
|
+
tenantId: Schema.optional(Schema.String),
|
|
631
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
632
|
+
}),
|
|
633
|
+
),
|
|
634
|
+
sku: Schema.optional(
|
|
635
|
+
Schema.Struct({
|
|
636
|
+
name: Schema.String,
|
|
637
|
+
tier: Schema.optional(
|
|
638
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
639
|
+
),
|
|
640
|
+
size: Schema.optional(Schema.String),
|
|
641
|
+
family: Schema.optional(Schema.String),
|
|
642
|
+
capacity: Schema.optional(Schema.Number),
|
|
643
|
+
}),
|
|
644
|
+
),
|
|
645
|
+
plan: Schema.optional(
|
|
646
|
+
Schema.Struct({
|
|
647
|
+
name: Schema.String,
|
|
648
|
+
publisher: Schema.String,
|
|
649
|
+
product: Schema.String,
|
|
650
|
+
promotionCode: Schema.optional(Schema.String),
|
|
651
|
+
version: Schema.optional(Schema.String),
|
|
652
|
+
}),
|
|
653
|
+
),
|
|
654
|
+
});
|
|
655
|
+
export type ApplicationGroupsUpdateOutput =
|
|
656
|
+
typeof ApplicationGroupsUpdateOutput.Type;
|
|
487
657
|
|
|
488
658
|
// The operation
|
|
489
659
|
/**
|
|
490
|
-
*
|
|
660
|
+
* Update an applicationGroup.
|
|
491
661
|
*
|
|
492
662
|
* @param api-version - The API version to use for this operation.
|
|
493
663
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
494
664
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
495
665
|
*/
|
|
496
|
-
export const
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
// Input Schema
|
|
501
|
-
export const OperationsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
502
|
-
"api-version": Schema.String,
|
|
503
|
-
}).pipe(
|
|
504
|
-
T.Http({
|
|
505
|
-
method: "GET",
|
|
506
|
-
path: "/providers/Microsoft.DesktopVirtualization/operations",
|
|
666
|
+
export const ApplicationGroupsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
667
|
+
() => ({
|
|
668
|
+
inputSchema: ApplicationGroupsUpdateInput,
|
|
669
|
+
outputSchema: ApplicationGroupsUpdateOutput,
|
|
507
670
|
}),
|
|
508
671
|
);
|
|
509
|
-
|
|
672
|
+
// Input Schema
|
|
673
|
+
export const ApplicationsCreateOrUpdateInput =
|
|
674
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
675
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
676
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
677
|
+
"api-version": Schema.String,
|
|
678
|
+
}).pipe(
|
|
679
|
+
T.Http({
|
|
680
|
+
method: "PUT",
|
|
681
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}",
|
|
682
|
+
}),
|
|
683
|
+
);
|
|
684
|
+
export type ApplicationsCreateOrUpdateInput =
|
|
685
|
+
typeof ApplicationsCreateOrUpdateInput.Type;
|
|
510
686
|
|
|
511
687
|
// Output Schema
|
|
512
|
-
export const
|
|
513
|
-
|
|
514
|
-
Schema.
|
|
688
|
+
export const ApplicationsCreateOrUpdateOutput =
|
|
689
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
690
|
+
id: Schema.optional(Schema.String),
|
|
691
|
+
name: Schema.optional(Schema.String),
|
|
692
|
+
type: Schema.optional(Schema.String),
|
|
693
|
+
systemData: Schema.optional(
|
|
515
694
|
Schema.Struct({
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
Schema.
|
|
519
|
-
provider: Schema.optional(Schema.String),
|
|
520
|
-
resource: Schema.optional(Schema.String),
|
|
521
|
-
operation: Schema.optional(Schema.String),
|
|
522
|
-
description: Schema.optional(Schema.String),
|
|
523
|
-
}),
|
|
695
|
+
createdBy: Schema.optional(Schema.String),
|
|
696
|
+
createdByType: Schema.optional(
|
|
697
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
524
698
|
),
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
Schema.Struct({
|
|
530
|
-
logSpecifications: Schema.optional(
|
|
531
|
-
Schema.Array(
|
|
532
|
-
Schema.Struct({
|
|
533
|
-
name: Schema.optional(Schema.String),
|
|
534
|
-
displayName: Schema.optional(Schema.String),
|
|
535
|
-
blobDuration: Schema.optional(Schema.String),
|
|
536
|
-
}),
|
|
537
|
-
),
|
|
538
|
-
),
|
|
539
|
-
}),
|
|
540
|
-
),
|
|
541
|
-
}),
|
|
699
|
+
createdAt: Schema.optional(Schema.String),
|
|
700
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
701
|
+
lastModifiedByType: Schema.optional(
|
|
702
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
542
703
|
),
|
|
704
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
543
705
|
}),
|
|
544
706
|
),
|
|
545
|
-
)
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
export type OperationsListOutput = typeof OperationsListOutput.Type;
|
|
707
|
+
});
|
|
708
|
+
export type ApplicationsCreateOrUpdateOutput =
|
|
709
|
+
typeof ApplicationsCreateOrUpdateOutput.Type;
|
|
549
710
|
|
|
550
711
|
// The operation
|
|
551
712
|
/**
|
|
552
|
-
*
|
|
713
|
+
* Create or update an application.
|
|
553
714
|
*
|
|
554
715
|
* @param api-version - The API version to use for this operation.
|
|
716
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
717
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
555
718
|
*/
|
|
556
|
-
export const
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
719
|
+
export const ApplicationsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
720
|
+
() => ({
|
|
721
|
+
inputSchema: ApplicationsCreateOrUpdateInput,
|
|
722
|
+
outputSchema: ApplicationsCreateOrUpdateOutput,
|
|
723
|
+
}),
|
|
724
|
+
);
|
|
560
725
|
// Input Schema
|
|
561
|
-
export const
|
|
726
|
+
export const ApplicationsDeleteInput =
|
|
562
727
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
563
728
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
564
729
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
565
|
-
privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
|
|
566
730
|
"api-version": Schema.String,
|
|
567
731
|
}).pipe(
|
|
568
732
|
T.Http({
|
|
569
733
|
method: "DELETE",
|
|
570
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/
|
|
734
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}",
|
|
571
735
|
}),
|
|
572
736
|
);
|
|
573
|
-
export type
|
|
574
|
-
typeof PrivateEndpointConnectionsDeleteByHostPoolInput.Type;
|
|
737
|
+
export type ApplicationsDeleteInput = typeof ApplicationsDeleteInput.Type;
|
|
575
738
|
|
|
576
739
|
// Output Schema
|
|
577
|
-
export const
|
|
578
|
-
|
|
579
|
-
export type PrivateEndpointConnectionsDeleteByHostPoolOutput =
|
|
580
|
-
typeof PrivateEndpointConnectionsDeleteByHostPoolOutput.Type;
|
|
740
|
+
export const ApplicationsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
741
|
+
export type ApplicationsDeleteOutput = typeof ApplicationsDeleteOutput.Type;
|
|
581
742
|
|
|
582
743
|
// The operation
|
|
583
744
|
/**
|
|
584
|
-
* Remove
|
|
745
|
+
* Remove an application.
|
|
585
746
|
*
|
|
586
747
|
* @param api-version - The API version to use for this operation.
|
|
587
748
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
588
749
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
589
|
-
* @param privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
|
|
590
750
|
*/
|
|
591
|
-
export const
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
}));
|
|
751
|
+
export const ApplicationsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
752
|
+
inputSchema: ApplicationsDeleteInput,
|
|
753
|
+
outputSchema: ApplicationsDeleteOutput,
|
|
754
|
+
}));
|
|
596
755
|
// Input Schema
|
|
597
|
-
export const
|
|
598
|
-
|
|
599
|
-
|
|
756
|
+
export const ApplicationsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
757
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
758
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
759
|
+
"api-version": Schema.String,
|
|
760
|
+
}).pipe(
|
|
761
|
+
T.Http({
|
|
762
|
+
method: "GET",
|
|
763
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}",
|
|
764
|
+
}),
|
|
765
|
+
);
|
|
766
|
+
export type ApplicationsGetInput = typeof ApplicationsGetInput.Type;
|
|
767
|
+
|
|
768
|
+
// Output Schema
|
|
769
|
+
export const ApplicationsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
770
|
+
id: Schema.optional(Schema.String),
|
|
771
|
+
name: Schema.optional(Schema.String),
|
|
772
|
+
type: Schema.optional(Schema.String),
|
|
773
|
+
systemData: Schema.optional(
|
|
774
|
+
Schema.Struct({
|
|
775
|
+
createdBy: Schema.optional(Schema.String),
|
|
776
|
+
createdByType: Schema.optional(
|
|
777
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
778
|
+
),
|
|
779
|
+
createdAt: Schema.optional(Schema.String),
|
|
780
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
781
|
+
lastModifiedByType: Schema.optional(
|
|
782
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
783
|
+
),
|
|
784
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
785
|
+
}),
|
|
786
|
+
),
|
|
787
|
+
});
|
|
788
|
+
export type ApplicationsGetOutput = typeof ApplicationsGetOutput.Type;
|
|
789
|
+
|
|
790
|
+
// The operation
|
|
791
|
+
/**
|
|
792
|
+
* Get an application.
|
|
793
|
+
*
|
|
794
|
+
* @param api-version - The API version to use for this operation.
|
|
795
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
796
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
797
|
+
*/
|
|
798
|
+
export const ApplicationsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
799
|
+
inputSchema: ApplicationsGetInput,
|
|
800
|
+
outputSchema: ApplicationsGetOutput,
|
|
801
|
+
}));
|
|
802
|
+
// Input Schema
|
|
803
|
+
export const ApplicationsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
804
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
805
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
806
|
+
"api-version": Schema.String,
|
|
807
|
+
pageSize: Schema.optional(Schema.Number),
|
|
808
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
809
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
810
|
+
}).pipe(
|
|
811
|
+
T.Http({
|
|
812
|
+
method: "GET",
|
|
813
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications",
|
|
814
|
+
}),
|
|
815
|
+
);
|
|
816
|
+
export type ApplicationsListInput = typeof ApplicationsListInput.Type;
|
|
817
|
+
|
|
818
|
+
// Output Schema
|
|
819
|
+
export const ApplicationsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
820
|
+
{
|
|
821
|
+
value: Schema.optional(
|
|
822
|
+
Schema.Array(
|
|
823
|
+
Schema.Struct({
|
|
824
|
+
id: Schema.optional(Schema.String),
|
|
825
|
+
name: Schema.optional(Schema.String),
|
|
826
|
+
type: Schema.optional(Schema.String),
|
|
827
|
+
systemData: Schema.optional(
|
|
828
|
+
Schema.Struct({
|
|
829
|
+
createdBy: Schema.optional(Schema.String),
|
|
830
|
+
createdByType: Schema.optional(
|
|
831
|
+
Schema.Literals([
|
|
832
|
+
"User",
|
|
833
|
+
"Application",
|
|
834
|
+
"ManagedIdentity",
|
|
835
|
+
"Key",
|
|
836
|
+
]),
|
|
837
|
+
),
|
|
838
|
+
createdAt: Schema.optional(Schema.String),
|
|
839
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
840
|
+
lastModifiedByType: Schema.optional(
|
|
841
|
+
Schema.Literals([
|
|
842
|
+
"User",
|
|
843
|
+
"Application",
|
|
844
|
+
"ManagedIdentity",
|
|
845
|
+
"Key",
|
|
846
|
+
]),
|
|
847
|
+
),
|
|
848
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
849
|
+
}),
|
|
850
|
+
),
|
|
851
|
+
}),
|
|
852
|
+
),
|
|
853
|
+
),
|
|
854
|
+
nextLink: Schema.optional(Schema.String),
|
|
855
|
+
},
|
|
856
|
+
);
|
|
857
|
+
export type ApplicationsListOutput = typeof ApplicationsListOutput.Type;
|
|
858
|
+
|
|
859
|
+
// The operation
|
|
860
|
+
/**
|
|
861
|
+
* List applications.
|
|
862
|
+
*
|
|
863
|
+
* @param api-version - The API version to use for this operation.
|
|
864
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
865
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
866
|
+
* @param pageSize - Number of items per page.
|
|
867
|
+
* @param isDescending - Indicates whether the collection is descending.
|
|
868
|
+
* @param initialSkip - Initial number of items to skip.
|
|
869
|
+
*/
|
|
870
|
+
export const ApplicationsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
871
|
+
inputSchema: ApplicationsListInput,
|
|
872
|
+
outputSchema: ApplicationsListOutput,
|
|
873
|
+
}));
|
|
874
|
+
// Input Schema
|
|
875
|
+
export const ApplicationsUpdateInput =
|
|
876
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
877
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
878
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
879
|
+
"api-version": Schema.String,
|
|
880
|
+
}).pipe(
|
|
881
|
+
T.Http({
|
|
882
|
+
method: "PATCH",
|
|
883
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/applications/{applicationName}",
|
|
884
|
+
}),
|
|
885
|
+
);
|
|
886
|
+
export type ApplicationsUpdateInput = typeof ApplicationsUpdateInput.Type;
|
|
887
|
+
|
|
888
|
+
// Output Schema
|
|
889
|
+
export const ApplicationsUpdateOutput =
|
|
890
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
891
|
+
id: Schema.optional(Schema.String),
|
|
892
|
+
name: Schema.optional(Schema.String),
|
|
893
|
+
type: Schema.optional(Schema.String),
|
|
894
|
+
systemData: Schema.optional(
|
|
895
|
+
Schema.Struct({
|
|
896
|
+
createdBy: Schema.optional(Schema.String),
|
|
897
|
+
createdByType: Schema.optional(
|
|
898
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
899
|
+
),
|
|
900
|
+
createdAt: Schema.optional(Schema.String),
|
|
901
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
902
|
+
lastModifiedByType: Schema.optional(
|
|
903
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
904
|
+
),
|
|
905
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
906
|
+
}),
|
|
907
|
+
),
|
|
908
|
+
});
|
|
909
|
+
export type ApplicationsUpdateOutput = typeof ApplicationsUpdateOutput.Type;
|
|
910
|
+
|
|
911
|
+
// The operation
|
|
912
|
+
/**
|
|
913
|
+
* Update an application.
|
|
914
|
+
*
|
|
915
|
+
* @param api-version - The API version to use for this operation.
|
|
916
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
917
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
918
|
+
*/
|
|
919
|
+
export const ApplicationsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
920
|
+
inputSchema: ApplicationsUpdateInput,
|
|
921
|
+
outputSchema: ApplicationsUpdateOutput,
|
|
922
|
+
}));
|
|
923
|
+
// Input Schema
|
|
924
|
+
export const DesktopsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
925
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
926
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
927
|
+
"api-version": Schema.String,
|
|
928
|
+
}).pipe(
|
|
929
|
+
T.Http({
|
|
930
|
+
method: "GET",
|
|
931
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}",
|
|
932
|
+
}),
|
|
933
|
+
);
|
|
934
|
+
export type DesktopsGetInput = typeof DesktopsGetInput.Type;
|
|
935
|
+
|
|
936
|
+
// Output Schema
|
|
937
|
+
export const DesktopsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
938
|
+
id: Schema.optional(Schema.String),
|
|
939
|
+
name: Schema.optional(Schema.String),
|
|
940
|
+
type: Schema.optional(Schema.String),
|
|
941
|
+
systemData: Schema.optional(
|
|
942
|
+
Schema.Struct({
|
|
943
|
+
createdBy: Schema.optional(Schema.String),
|
|
944
|
+
createdByType: Schema.optional(
|
|
945
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
946
|
+
),
|
|
947
|
+
createdAt: Schema.optional(Schema.String),
|
|
948
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
949
|
+
lastModifiedByType: Schema.optional(
|
|
950
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
951
|
+
),
|
|
952
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
953
|
+
}),
|
|
954
|
+
),
|
|
955
|
+
});
|
|
956
|
+
export type DesktopsGetOutput = typeof DesktopsGetOutput.Type;
|
|
957
|
+
|
|
958
|
+
// The operation
|
|
959
|
+
/**
|
|
960
|
+
* Get a desktop.
|
|
961
|
+
*
|
|
962
|
+
* @param api-version - The API version to use for this operation.
|
|
963
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
964
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
965
|
+
*/
|
|
966
|
+
export const DesktopsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
967
|
+
inputSchema: DesktopsGetInput,
|
|
968
|
+
outputSchema: DesktopsGetOutput,
|
|
969
|
+
}));
|
|
970
|
+
// Input Schema
|
|
971
|
+
export const DesktopsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
972
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
973
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
974
|
+
"api-version": Schema.String,
|
|
975
|
+
pageSize: Schema.optional(Schema.Number),
|
|
976
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
977
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
978
|
+
}).pipe(
|
|
979
|
+
T.Http({
|
|
980
|
+
method: "GET",
|
|
981
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops",
|
|
982
|
+
}),
|
|
983
|
+
);
|
|
984
|
+
export type DesktopsListInput = typeof DesktopsListInput.Type;
|
|
985
|
+
|
|
986
|
+
// Output Schema
|
|
987
|
+
export const DesktopsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
988
|
+
value: Schema.optional(
|
|
989
|
+
Schema.Array(
|
|
990
|
+
Schema.Struct({
|
|
991
|
+
id: Schema.optional(Schema.String),
|
|
992
|
+
name: Schema.optional(Schema.String),
|
|
993
|
+
type: Schema.optional(Schema.String),
|
|
994
|
+
systemData: Schema.optional(
|
|
995
|
+
Schema.Struct({
|
|
996
|
+
createdBy: Schema.optional(Schema.String),
|
|
997
|
+
createdByType: Schema.optional(
|
|
998
|
+
Schema.Literals([
|
|
999
|
+
"User",
|
|
1000
|
+
"Application",
|
|
1001
|
+
"ManagedIdentity",
|
|
1002
|
+
"Key",
|
|
1003
|
+
]),
|
|
1004
|
+
),
|
|
1005
|
+
createdAt: Schema.optional(Schema.String),
|
|
1006
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1007
|
+
lastModifiedByType: Schema.optional(
|
|
1008
|
+
Schema.Literals([
|
|
1009
|
+
"User",
|
|
1010
|
+
"Application",
|
|
1011
|
+
"ManagedIdentity",
|
|
1012
|
+
"Key",
|
|
1013
|
+
]),
|
|
1014
|
+
),
|
|
1015
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1016
|
+
}),
|
|
1017
|
+
),
|
|
1018
|
+
}),
|
|
1019
|
+
),
|
|
1020
|
+
),
|
|
1021
|
+
nextLink: Schema.optional(Schema.String),
|
|
1022
|
+
});
|
|
1023
|
+
export type DesktopsListOutput = typeof DesktopsListOutput.Type;
|
|
1024
|
+
|
|
1025
|
+
// The operation
|
|
1026
|
+
/**
|
|
1027
|
+
* List desktops.
|
|
1028
|
+
*
|
|
1029
|
+
* @param api-version - The API version to use for this operation.
|
|
1030
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1031
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1032
|
+
* @param pageSize - Number of items per page.
|
|
1033
|
+
* @param isDescending - Indicates whether the collection is descending.
|
|
1034
|
+
* @param initialSkip - Initial number of items to skip.
|
|
1035
|
+
*/
|
|
1036
|
+
export const DesktopsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1037
|
+
inputSchema: DesktopsListInput,
|
|
1038
|
+
outputSchema: DesktopsListOutput,
|
|
1039
|
+
}));
|
|
1040
|
+
// Input Schema
|
|
1041
|
+
export const DesktopsUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1042
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1043
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1044
|
+
"api-version": Schema.String,
|
|
1045
|
+
}).pipe(
|
|
1046
|
+
T.Http({
|
|
1047
|
+
method: "PATCH",
|
|
1048
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}",
|
|
1049
|
+
}),
|
|
1050
|
+
);
|
|
1051
|
+
export type DesktopsUpdateInput = typeof DesktopsUpdateInput.Type;
|
|
1052
|
+
|
|
1053
|
+
// Output Schema
|
|
1054
|
+
export const DesktopsUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1055
|
+
id: Schema.optional(Schema.String),
|
|
1056
|
+
name: Schema.optional(Schema.String),
|
|
1057
|
+
type: Schema.optional(Schema.String),
|
|
1058
|
+
systemData: Schema.optional(
|
|
1059
|
+
Schema.Struct({
|
|
1060
|
+
createdBy: Schema.optional(Schema.String),
|
|
1061
|
+
createdByType: Schema.optional(
|
|
1062
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
1063
|
+
),
|
|
1064
|
+
createdAt: Schema.optional(Schema.String),
|
|
1065
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1066
|
+
lastModifiedByType: Schema.optional(
|
|
1067
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
1068
|
+
),
|
|
1069
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1070
|
+
}),
|
|
1071
|
+
),
|
|
1072
|
+
});
|
|
1073
|
+
export type DesktopsUpdateOutput = typeof DesktopsUpdateOutput.Type;
|
|
1074
|
+
|
|
1075
|
+
// The operation
|
|
1076
|
+
/**
|
|
1077
|
+
* Update a desktop.
|
|
1078
|
+
*
|
|
1079
|
+
* @param api-version - The API version to use for this operation.
|
|
1080
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1081
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1082
|
+
*/
|
|
1083
|
+
export const DesktopsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1084
|
+
inputSchema: DesktopsUpdateInput,
|
|
1085
|
+
outputSchema: DesktopsUpdateOutput,
|
|
1086
|
+
}));
|
|
1087
|
+
// Input Schema
|
|
1088
|
+
export const HostPoolsCreateOrUpdateInput =
|
|
1089
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1090
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1091
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1092
|
+
"api-version": Schema.String,
|
|
1093
|
+
}).pipe(
|
|
1094
|
+
T.Http({
|
|
1095
|
+
method: "PUT",
|
|
1096
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}",
|
|
1097
|
+
}),
|
|
1098
|
+
);
|
|
1099
|
+
export type HostPoolsCreateOrUpdateInput =
|
|
1100
|
+
typeof HostPoolsCreateOrUpdateInput.Type;
|
|
1101
|
+
|
|
1102
|
+
// Output Schema
|
|
1103
|
+
export const HostPoolsCreateOrUpdateOutput =
|
|
1104
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1105
|
+
managedBy: Schema.optional(Schema.String),
|
|
1106
|
+
kind: Schema.optional(Schema.String),
|
|
1107
|
+
etag: Schema.optional(Schema.String),
|
|
1108
|
+
identity: Schema.optional(
|
|
1109
|
+
Schema.Struct({
|
|
1110
|
+
principalId: Schema.optional(Schema.String),
|
|
1111
|
+
tenantId: Schema.optional(Schema.String),
|
|
1112
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
1113
|
+
}),
|
|
1114
|
+
),
|
|
1115
|
+
sku: Schema.optional(
|
|
1116
|
+
Schema.Struct({
|
|
1117
|
+
name: Schema.String,
|
|
1118
|
+
tier: Schema.optional(
|
|
1119
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
1120
|
+
),
|
|
1121
|
+
size: Schema.optional(Schema.String),
|
|
1122
|
+
family: Schema.optional(Schema.String),
|
|
1123
|
+
capacity: Schema.optional(Schema.Number),
|
|
1124
|
+
}),
|
|
1125
|
+
),
|
|
1126
|
+
plan: Schema.optional(
|
|
1127
|
+
Schema.Struct({
|
|
1128
|
+
name: Schema.String,
|
|
1129
|
+
publisher: Schema.String,
|
|
1130
|
+
product: Schema.String,
|
|
1131
|
+
promotionCode: Schema.optional(Schema.String),
|
|
1132
|
+
version: Schema.optional(Schema.String),
|
|
1133
|
+
}),
|
|
1134
|
+
),
|
|
1135
|
+
});
|
|
1136
|
+
export type HostPoolsCreateOrUpdateOutput =
|
|
1137
|
+
typeof HostPoolsCreateOrUpdateOutput.Type;
|
|
1138
|
+
|
|
1139
|
+
// The operation
|
|
1140
|
+
/**
|
|
1141
|
+
* Create or update a host pool.
|
|
1142
|
+
*
|
|
1143
|
+
* @param api-version - The API version to use for this operation.
|
|
1144
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1145
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1146
|
+
*/
|
|
1147
|
+
export const HostPoolsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
1148
|
+
() => ({
|
|
1149
|
+
inputSchema: HostPoolsCreateOrUpdateInput,
|
|
1150
|
+
outputSchema: HostPoolsCreateOrUpdateOutput,
|
|
1151
|
+
}),
|
|
1152
|
+
);
|
|
1153
|
+
// Input Schema
|
|
1154
|
+
export const HostPoolsDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1155
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1156
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1157
|
+
"api-version": Schema.String,
|
|
1158
|
+
force: Schema.optional(Schema.Boolean),
|
|
1159
|
+
}).pipe(
|
|
1160
|
+
T.Http({
|
|
1161
|
+
method: "DELETE",
|
|
1162
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}",
|
|
1163
|
+
}),
|
|
1164
|
+
);
|
|
1165
|
+
export type HostPoolsDeleteInput = typeof HostPoolsDeleteInput.Type;
|
|
1166
|
+
|
|
1167
|
+
// Output Schema
|
|
1168
|
+
export const HostPoolsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
1169
|
+
export type HostPoolsDeleteOutput = typeof HostPoolsDeleteOutput.Type;
|
|
1170
|
+
|
|
1171
|
+
// The operation
|
|
1172
|
+
/**
|
|
1173
|
+
* Remove a host pool.
|
|
1174
|
+
*
|
|
1175
|
+
* @param api-version - The API version to use for this operation.
|
|
1176
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1177
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1178
|
+
* @param force - Force flag to delete sessionHost.
|
|
1179
|
+
*/
|
|
1180
|
+
export const HostPoolsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1181
|
+
inputSchema: HostPoolsDeleteInput,
|
|
1182
|
+
outputSchema: HostPoolsDeleteOutput,
|
|
1183
|
+
}));
|
|
1184
|
+
// Input Schema
|
|
1185
|
+
export const HostPoolsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1186
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1187
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1188
|
+
"api-version": Schema.String,
|
|
1189
|
+
}).pipe(
|
|
1190
|
+
T.Http({
|
|
1191
|
+
method: "GET",
|
|
1192
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}",
|
|
1193
|
+
}),
|
|
1194
|
+
);
|
|
1195
|
+
export type HostPoolsGetInput = typeof HostPoolsGetInput.Type;
|
|
1196
|
+
|
|
1197
|
+
// Output Schema
|
|
1198
|
+
export const HostPoolsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1199
|
+
managedBy: Schema.optional(Schema.String),
|
|
1200
|
+
kind: Schema.optional(Schema.String),
|
|
1201
|
+
etag: Schema.optional(Schema.String),
|
|
1202
|
+
identity: Schema.optional(
|
|
1203
|
+
Schema.Struct({
|
|
1204
|
+
principalId: Schema.optional(Schema.String),
|
|
1205
|
+
tenantId: Schema.optional(Schema.String),
|
|
1206
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
1207
|
+
}),
|
|
1208
|
+
),
|
|
1209
|
+
sku: Schema.optional(
|
|
1210
|
+
Schema.Struct({
|
|
1211
|
+
name: Schema.String,
|
|
1212
|
+
tier: Schema.optional(
|
|
1213
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
1214
|
+
),
|
|
1215
|
+
size: Schema.optional(Schema.String),
|
|
1216
|
+
family: Schema.optional(Schema.String),
|
|
1217
|
+
capacity: Schema.optional(Schema.Number),
|
|
1218
|
+
}),
|
|
1219
|
+
),
|
|
1220
|
+
plan: Schema.optional(
|
|
1221
|
+
Schema.Struct({
|
|
1222
|
+
name: Schema.String,
|
|
1223
|
+
publisher: Schema.String,
|
|
1224
|
+
product: Schema.String,
|
|
1225
|
+
promotionCode: Schema.optional(Schema.String),
|
|
1226
|
+
version: Schema.optional(Schema.String),
|
|
1227
|
+
}),
|
|
1228
|
+
),
|
|
1229
|
+
});
|
|
1230
|
+
export type HostPoolsGetOutput = typeof HostPoolsGetOutput.Type;
|
|
1231
|
+
|
|
1232
|
+
// The operation
|
|
1233
|
+
/**
|
|
1234
|
+
* Get a host pool.
|
|
1235
|
+
*
|
|
1236
|
+
* @param api-version - The API version to use for this operation.
|
|
1237
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1238
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1239
|
+
*/
|
|
1240
|
+
export const HostPoolsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1241
|
+
inputSchema: HostPoolsGetInput,
|
|
1242
|
+
outputSchema: HostPoolsGetOutput,
|
|
1243
|
+
}));
|
|
1244
|
+
// Input Schema
|
|
1245
|
+
export const HostPoolsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1246
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1247
|
+
"api-version": Schema.String,
|
|
1248
|
+
pageSize: Schema.optional(Schema.Number),
|
|
1249
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
1250
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
1251
|
+
}).pipe(
|
|
1252
|
+
T.Http({
|
|
1253
|
+
method: "GET",
|
|
1254
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/hostPools",
|
|
1255
|
+
}),
|
|
1256
|
+
);
|
|
1257
|
+
export type HostPoolsListInput = typeof HostPoolsListInput.Type;
|
|
1258
|
+
|
|
1259
|
+
// Output Schema
|
|
1260
|
+
export const HostPoolsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1261
|
+
value: Schema.optional(
|
|
1262
|
+
Schema.Array(
|
|
1263
|
+
Schema.Struct({
|
|
1264
|
+
managedBy: Schema.optional(Schema.String),
|
|
1265
|
+
kind: Schema.optional(Schema.String),
|
|
1266
|
+
etag: Schema.optional(Schema.String),
|
|
1267
|
+
identity: Schema.optional(
|
|
1268
|
+
Schema.Struct({
|
|
1269
|
+
principalId: Schema.optional(Schema.String),
|
|
1270
|
+
tenantId: Schema.optional(Schema.String),
|
|
1271
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
1272
|
+
}),
|
|
1273
|
+
),
|
|
1274
|
+
sku: Schema.optional(
|
|
1275
|
+
Schema.Struct({
|
|
1276
|
+
name: Schema.String,
|
|
1277
|
+
tier: Schema.optional(
|
|
1278
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
1279
|
+
),
|
|
1280
|
+
size: Schema.optional(Schema.String),
|
|
1281
|
+
family: Schema.optional(Schema.String),
|
|
1282
|
+
capacity: Schema.optional(Schema.Number),
|
|
1283
|
+
}),
|
|
1284
|
+
),
|
|
1285
|
+
plan: Schema.optional(
|
|
1286
|
+
Schema.Struct({
|
|
1287
|
+
name: Schema.String,
|
|
1288
|
+
publisher: Schema.String,
|
|
1289
|
+
product: Schema.String,
|
|
1290
|
+
promotionCode: Schema.optional(Schema.String),
|
|
1291
|
+
version: Schema.optional(Schema.String),
|
|
1292
|
+
}),
|
|
1293
|
+
),
|
|
1294
|
+
}),
|
|
1295
|
+
),
|
|
1296
|
+
),
|
|
1297
|
+
nextLink: Schema.optional(Schema.String),
|
|
1298
|
+
});
|
|
1299
|
+
export type HostPoolsListOutput = typeof HostPoolsListOutput.Type;
|
|
1300
|
+
|
|
1301
|
+
// The operation
|
|
1302
|
+
/**
|
|
1303
|
+
* List hostPools in subscription.
|
|
1304
|
+
*
|
|
1305
|
+
* @param api-version - The API version to use for this operation.
|
|
1306
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1307
|
+
* @param pageSize - Number of items per page.
|
|
1308
|
+
* @param isDescending - Indicates whether the collection is descending.
|
|
1309
|
+
* @param initialSkip - Initial number of items to skip.
|
|
1310
|
+
*/
|
|
1311
|
+
export const HostPoolsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1312
|
+
inputSchema: HostPoolsListInput,
|
|
1313
|
+
outputSchema: HostPoolsListOutput,
|
|
1314
|
+
}));
|
|
1315
|
+
// Input Schema
|
|
1316
|
+
export const HostPoolsListByResourceGroupInput =
|
|
1317
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1318
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1319
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1320
|
+
"api-version": Schema.String,
|
|
1321
|
+
pageSize: Schema.optional(Schema.Number),
|
|
1322
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
1323
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
1324
|
+
}).pipe(
|
|
1325
|
+
T.Http({
|
|
1326
|
+
method: "GET",
|
|
1327
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools",
|
|
1328
|
+
}),
|
|
1329
|
+
);
|
|
1330
|
+
export type HostPoolsListByResourceGroupInput =
|
|
1331
|
+
typeof HostPoolsListByResourceGroupInput.Type;
|
|
1332
|
+
|
|
1333
|
+
// Output Schema
|
|
1334
|
+
export const HostPoolsListByResourceGroupOutput =
|
|
1335
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1336
|
+
value: Schema.optional(
|
|
1337
|
+
Schema.Array(
|
|
1338
|
+
Schema.Struct({
|
|
1339
|
+
managedBy: Schema.optional(Schema.String),
|
|
1340
|
+
kind: Schema.optional(Schema.String),
|
|
1341
|
+
etag: Schema.optional(Schema.String),
|
|
1342
|
+
identity: Schema.optional(
|
|
1343
|
+
Schema.Struct({
|
|
1344
|
+
principalId: Schema.optional(Schema.String),
|
|
1345
|
+
tenantId: Schema.optional(Schema.String),
|
|
1346
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
1347
|
+
}),
|
|
1348
|
+
),
|
|
1349
|
+
sku: Schema.optional(
|
|
1350
|
+
Schema.Struct({
|
|
1351
|
+
name: Schema.String,
|
|
1352
|
+
tier: Schema.optional(
|
|
1353
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
1354
|
+
),
|
|
1355
|
+
size: Schema.optional(Schema.String),
|
|
1356
|
+
family: Schema.optional(Schema.String),
|
|
1357
|
+
capacity: Schema.optional(Schema.Number),
|
|
1358
|
+
}),
|
|
1359
|
+
),
|
|
1360
|
+
plan: Schema.optional(
|
|
1361
|
+
Schema.Struct({
|
|
1362
|
+
name: Schema.String,
|
|
1363
|
+
publisher: Schema.String,
|
|
1364
|
+
product: Schema.String,
|
|
1365
|
+
promotionCode: Schema.optional(Schema.String),
|
|
1366
|
+
version: Schema.optional(Schema.String),
|
|
1367
|
+
}),
|
|
1368
|
+
),
|
|
1369
|
+
}),
|
|
1370
|
+
),
|
|
1371
|
+
),
|
|
1372
|
+
nextLink: Schema.optional(Schema.String),
|
|
1373
|
+
});
|
|
1374
|
+
export type HostPoolsListByResourceGroupOutput =
|
|
1375
|
+
typeof HostPoolsListByResourceGroupOutput.Type;
|
|
1376
|
+
|
|
1377
|
+
// The operation
|
|
1378
|
+
/**
|
|
1379
|
+
* List hostPools.
|
|
1380
|
+
*
|
|
1381
|
+
* @param api-version - The API version to use for this operation.
|
|
1382
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1383
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1384
|
+
* @param pageSize - Number of items per page.
|
|
1385
|
+
* @param isDescending - Indicates whether the collection is descending.
|
|
1386
|
+
* @param initialSkip - Initial number of items to skip.
|
|
1387
|
+
*/
|
|
1388
|
+
export const HostPoolsListByResourceGroup =
|
|
1389
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1390
|
+
inputSchema: HostPoolsListByResourceGroupInput,
|
|
1391
|
+
outputSchema: HostPoolsListByResourceGroupOutput,
|
|
1392
|
+
}));
|
|
1393
|
+
// Input Schema
|
|
1394
|
+
export const HostPoolsListRegistrationTokensInput =
|
|
1395
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1396
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1397
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1398
|
+
"api-version": Schema.String,
|
|
1399
|
+
}).pipe(
|
|
1400
|
+
T.Http({
|
|
1401
|
+
method: "POST",
|
|
1402
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/listRegistrationTokens",
|
|
1403
|
+
}),
|
|
1404
|
+
);
|
|
1405
|
+
export type HostPoolsListRegistrationTokensInput =
|
|
1406
|
+
typeof HostPoolsListRegistrationTokensInput.Type;
|
|
1407
|
+
|
|
1408
|
+
// Output Schema
|
|
1409
|
+
export const HostPoolsListRegistrationTokensOutput =
|
|
1410
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1411
|
+
value: Schema.optional(
|
|
1412
|
+
Schema.Array(
|
|
1413
|
+
Schema.Struct({
|
|
1414
|
+
expirationTime: Schema.optional(Schema.NullOr(Schema.String)),
|
|
1415
|
+
token: Schema.optional(Schema.String),
|
|
1416
|
+
}),
|
|
1417
|
+
),
|
|
1418
|
+
),
|
|
1419
|
+
nextLink: Schema.optional(Schema.String),
|
|
1420
|
+
});
|
|
1421
|
+
export type HostPoolsListRegistrationTokensOutput =
|
|
1422
|
+
typeof HostPoolsListRegistrationTokensOutput.Type;
|
|
1423
|
+
|
|
1424
|
+
// The operation
|
|
1425
|
+
/**
|
|
1426
|
+
* Operation to list the RegistrationTokens associated with the HostPool
|
|
1427
|
+
*
|
|
1428
|
+
* @param api-version - The API version to use for this operation.
|
|
1429
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1430
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1431
|
+
*/
|
|
1432
|
+
export const HostPoolsListRegistrationTokens =
|
|
1433
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1434
|
+
inputSchema: HostPoolsListRegistrationTokensInput,
|
|
1435
|
+
outputSchema: HostPoolsListRegistrationTokensOutput,
|
|
1436
|
+
}));
|
|
1437
|
+
// Input Schema
|
|
1438
|
+
export const HostPoolsRetrieveRegistrationTokenInput =
|
|
1439
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1440
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1441
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1442
|
+
"api-version": Schema.String,
|
|
1443
|
+
}).pipe(
|
|
1444
|
+
T.Http({
|
|
1445
|
+
method: "POST",
|
|
1446
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/retrieveRegistrationToken",
|
|
1447
|
+
}),
|
|
1448
|
+
);
|
|
1449
|
+
export type HostPoolsRetrieveRegistrationTokenInput =
|
|
1450
|
+
typeof HostPoolsRetrieveRegistrationTokenInput.Type;
|
|
1451
|
+
|
|
1452
|
+
// Output Schema
|
|
1453
|
+
export const HostPoolsRetrieveRegistrationTokenOutput =
|
|
1454
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1455
|
+
expirationTime: Schema.optional(Schema.NullOr(Schema.String)),
|
|
1456
|
+
token: Schema.optional(Schema.String),
|
|
1457
|
+
registrationTokenOperation: Schema.optional(
|
|
1458
|
+
Schema.Literals(["Delete", "None", "Update"]),
|
|
1459
|
+
),
|
|
1460
|
+
});
|
|
1461
|
+
export type HostPoolsRetrieveRegistrationTokenOutput =
|
|
1462
|
+
typeof HostPoolsRetrieveRegistrationTokenOutput.Type;
|
|
1463
|
+
|
|
1464
|
+
// The operation
|
|
1465
|
+
/**
|
|
1466
|
+
* Registration token of the host pool.
|
|
1467
|
+
*
|
|
1468
|
+
* @param api-version - The API version to use for this operation.
|
|
1469
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1470
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1471
|
+
*/
|
|
1472
|
+
export const HostPoolsRetrieveRegistrationToken =
|
|
1473
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1474
|
+
inputSchema: HostPoolsRetrieveRegistrationTokenInput,
|
|
1475
|
+
outputSchema: HostPoolsRetrieveRegistrationTokenOutput,
|
|
1476
|
+
}));
|
|
1477
|
+
// Input Schema
|
|
1478
|
+
export const HostPoolsUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1479
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1480
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1481
|
+
"api-version": Schema.String,
|
|
1482
|
+
}).pipe(
|
|
1483
|
+
T.Http({
|
|
1484
|
+
method: "PATCH",
|
|
1485
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}",
|
|
1486
|
+
}),
|
|
1487
|
+
);
|
|
1488
|
+
export type HostPoolsUpdateInput = typeof HostPoolsUpdateInput.Type;
|
|
1489
|
+
|
|
1490
|
+
// Output Schema
|
|
1491
|
+
export const HostPoolsUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1492
|
+
managedBy: Schema.optional(Schema.String),
|
|
1493
|
+
kind: Schema.optional(Schema.String),
|
|
1494
|
+
etag: Schema.optional(Schema.String),
|
|
1495
|
+
identity: Schema.optional(
|
|
1496
|
+
Schema.Struct({
|
|
1497
|
+
principalId: Schema.optional(Schema.String),
|
|
1498
|
+
tenantId: Schema.optional(Schema.String),
|
|
1499
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
1500
|
+
}),
|
|
1501
|
+
),
|
|
1502
|
+
sku: Schema.optional(
|
|
1503
|
+
Schema.Struct({
|
|
1504
|
+
name: Schema.String,
|
|
1505
|
+
tier: Schema.optional(
|
|
1506
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
1507
|
+
),
|
|
1508
|
+
size: Schema.optional(Schema.String),
|
|
1509
|
+
family: Schema.optional(Schema.String),
|
|
1510
|
+
capacity: Schema.optional(Schema.Number),
|
|
1511
|
+
}),
|
|
1512
|
+
),
|
|
1513
|
+
plan: Schema.optional(
|
|
1514
|
+
Schema.Struct({
|
|
1515
|
+
name: Schema.String,
|
|
1516
|
+
publisher: Schema.String,
|
|
1517
|
+
product: Schema.String,
|
|
1518
|
+
promotionCode: Schema.optional(Schema.String),
|
|
1519
|
+
version: Schema.optional(Schema.String),
|
|
1520
|
+
}),
|
|
1521
|
+
),
|
|
1522
|
+
});
|
|
1523
|
+
export type HostPoolsUpdateOutput = typeof HostPoolsUpdateOutput.Type;
|
|
1524
|
+
|
|
1525
|
+
// The operation
|
|
1526
|
+
/**
|
|
1527
|
+
* Update a host pool.
|
|
1528
|
+
*
|
|
1529
|
+
* @param api-version - The API version to use for this operation.
|
|
1530
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1531
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1532
|
+
*/
|
|
1533
|
+
export const HostPoolsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1534
|
+
inputSchema: HostPoolsUpdateInput,
|
|
1535
|
+
outputSchema: HostPoolsUpdateOutput,
|
|
1536
|
+
}));
|
|
1537
|
+
// Input Schema
|
|
1538
|
+
export const MsixImagesExpandInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1539
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1540
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1541
|
+
"api-version": Schema.String,
|
|
1542
|
+
}).pipe(
|
|
1543
|
+
T.Http({
|
|
1544
|
+
method: "POST",
|
|
1545
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/expandMsixImage",
|
|
1546
|
+
}),
|
|
1547
|
+
);
|
|
1548
|
+
export type MsixImagesExpandInput = typeof MsixImagesExpandInput.Type;
|
|
1549
|
+
|
|
1550
|
+
// Output Schema
|
|
1551
|
+
export const MsixImagesExpandOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
1552
|
+
{
|
|
1553
|
+
value: Schema.optional(
|
|
1554
|
+
Schema.Array(
|
|
1555
|
+
Schema.Struct({
|
|
1556
|
+
id: Schema.optional(Schema.String),
|
|
1557
|
+
name: Schema.optional(Schema.String),
|
|
1558
|
+
type: Schema.optional(Schema.String),
|
|
1559
|
+
systemData: Schema.optional(
|
|
1560
|
+
Schema.Struct({
|
|
1561
|
+
createdBy: Schema.optional(Schema.String),
|
|
1562
|
+
createdByType: Schema.optional(
|
|
1563
|
+
Schema.Literals([
|
|
1564
|
+
"User",
|
|
1565
|
+
"Application",
|
|
1566
|
+
"ManagedIdentity",
|
|
1567
|
+
"Key",
|
|
1568
|
+
]),
|
|
1569
|
+
),
|
|
1570
|
+
createdAt: Schema.optional(Schema.String),
|
|
1571
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1572
|
+
lastModifiedByType: Schema.optional(
|
|
1573
|
+
Schema.Literals([
|
|
1574
|
+
"User",
|
|
1575
|
+
"Application",
|
|
1576
|
+
"ManagedIdentity",
|
|
1577
|
+
"Key",
|
|
1578
|
+
]),
|
|
1579
|
+
),
|
|
1580
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1581
|
+
}),
|
|
1582
|
+
),
|
|
1583
|
+
}),
|
|
1584
|
+
),
|
|
1585
|
+
),
|
|
1586
|
+
nextLink: Schema.optional(Schema.String),
|
|
1587
|
+
},
|
|
1588
|
+
);
|
|
1589
|
+
export type MsixImagesExpandOutput = typeof MsixImagesExpandOutput.Type;
|
|
1590
|
+
|
|
1591
|
+
// The operation
|
|
1592
|
+
/**
|
|
1593
|
+
* Expands and Lists MSIX packages in an Image, given the Image Path.
|
|
1594
|
+
*
|
|
1595
|
+
* @param api-version - The API version to use for this operation.
|
|
1596
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1597
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1598
|
+
*/
|
|
1599
|
+
export const MsixImagesExpand = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1600
|
+
inputSchema: MsixImagesExpandInput,
|
|
1601
|
+
outputSchema: MsixImagesExpandOutput,
|
|
1602
|
+
}));
|
|
1603
|
+
// Input Schema
|
|
1604
|
+
export const MSIXPackagesCreateOrUpdateInput =
|
|
1605
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1606
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1607
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1608
|
+
"api-version": Schema.String,
|
|
1609
|
+
}).pipe(
|
|
1610
|
+
T.Http({
|
|
1611
|
+
method: "PUT",
|
|
1612
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}",
|
|
1613
|
+
}),
|
|
1614
|
+
);
|
|
1615
|
+
export type MSIXPackagesCreateOrUpdateInput =
|
|
1616
|
+
typeof MSIXPackagesCreateOrUpdateInput.Type;
|
|
1617
|
+
|
|
1618
|
+
// Output Schema
|
|
1619
|
+
export const MSIXPackagesCreateOrUpdateOutput =
|
|
1620
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1621
|
+
id: Schema.optional(Schema.String),
|
|
1622
|
+
name: Schema.optional(Schema.String),
|
|
1623
|
+
type: Schema.optional(Schema.String),
|
|
1624
|
+
systemData: Schema.optional(
|
|
1625
|
+
Schema.Struct({
|
|
1626
|
+
createdBy: Schema.optional(Schema.String),
|
|
1627
|
+
createdByType: Schema.optional(
|
|
1628
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
1629
|
+
),
|
|
1630
|
+
createdAt: Schema.optional(Schema.String),
|
|
1631
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1632
|
+
lastModifiedByType: Schema.optional(
|
|
1633
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
1634
|
+
),
|
|
1635
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1636
|
+
}),
|
|
1637
|
+
),
|
|
1638
|
+
});
|
|
1639
|
+
export type MSIXPackagesCreateOrUpdateOutput =
|
|
1640
|
+
typeof MSIXPackagesCreateOrUpdateOutput.Type;
|
|
1641
|
+
|
|
1642
|
+
// The operation
|
|
1643
|
+
/**
|
|
1644
|
+
* Create or update a MSIX package.
|
|
1645
|
+
*
|
|
1646
|
+
* @param api-version - The API version to use for this operation.
|
|
1647
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1648
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1649
|
+
*/
|
|
1650
|
+
export const MSIXPackagesCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
1651
|
+
() => ({
|
|
1652
|
+
inputSchema: MSIXPackagesCreateOrUpdateInput,
|
|
1653
|
+
outputSchema: MSIXPackagesCreateOrUpdateOutput,
|
|
1654
|
+
}),
|
|
1655
|
+
);
|
|
1656
|
+
// Input Schema
|
|
1657
|
+
export const MSIXPackagesDeleteInput =
|
|
1658
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1659
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1660
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1661
|
+
"api-version": Schema.String,
|
|
1662
|
+
}).pipe(
|
|
1663
|
+
T.Http({
|
|
1664
|
+
method: "DELETE",
|
|
1665
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}",
|
|
1666
|
+
}),
|
|
1667
|
+
);
|
|
1668
|
+
export type MSIXPackagesDeleteInput = typeof MSIXPackagesDeleteInput.Type;
|
|
1669
|
+
|
|
1670
|
+
// Output Schema
|
|
1671
|
+
export const MSIXPackagesDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
1672
|
+
export type MSIXPackagesDeleteOutput = typeof MSIXPackagesDeleteOutput.Type;
|
|
1673
|
+
|
|
1674
|
+
// The operation
|
|
1675
|
+
/**
|
|
1676
|
+
* Remove an MSIX Package.
|
|
1677
|
+
*
|
|
1678
|
+
* @param api-version - The API version to use for this operation.
|
|
1679
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1680
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1681
|
+
*/
|
|
1682
|
+
export const MSIXPackagesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1683
|
+
inputSchema: MSIXPackagesDeleteInput,
|
|
1684
|
+
outputSchema: MSIXPackagesDeleteOutput,
|
|
1685
|
+
}));
|
|
1686
|
+
// Input Schema
|
|
1687
|
+
export const MSIXPackagesGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1688
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1689
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1690
|
+
"api-version": Schema.String,
|
|
1691
|
+
}).pipe(
|
|
1692
|
+
T.Http({
|
|
1693
|
+
method: "GET",
|
|
1694
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}",
|
|
1695
|
+
}),
|
|
1696
|
+
);
|
|
1697
|
+
export type MSIXPackagesGetInput = typeof MSIXPackagesGetInput.Type;
|
|
1698
|
+
|
|
1699
|
+
// Output Schema
|
|
1700
|
+
export const MSIXPackagesGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1701
|
+
id: Schema.optional(Schema.String),
|
|
1702
|
+
name: Schema.optional(Schema.String),
|
|
1703
|
+
type: Schema.optional(Schema.String),
|
|
1704
|
+
systemData: Schema.optional(
|
|
1705
|
+
Schema.Struct({
|
|
1706
|
+
createdBy: Schema.optional(Schema.String),
|
|
1707
|
+
createdByType: Schema.optional(
|
|
1708
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
1709
|
+
),
|
|
1710
|
+
createdAt: Schema.optional(Schema.String),
|
|
1711
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1712
|
+
lastModifiedByType: Schema.optional(
|
|
1713
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
1714
|
+
),
|
|
1715
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1716
|
+
}),
|
|
1717
|
+
),
|
|
1718
|
+
});
|
|
1719
|
+
export type MSIXPackagesGetOutput = typeof MSIXPackagesGetOutput.Type;
|
|
1720
|
+
|
|
1721
|
+
// The operation
|
|
1722
|
+
/**
|
|
1723
|
+
* Get a msixpackage.
|
|
1724
|
+
*
|
|
1725
|
+
* @param api-version - The API version to use for this operation.
|
|
1726
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1727
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1728
|
+
*/
|
|
1729
|
+
export const MSIXPackagesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1730
|
+
inputSchema: MSIXPackagesGetInput,
|
|
1731
|
+
outputSchema: MSIXPackagesGetOutput,
|
|
1732
|
+
}));
|
|
1733
|
+
// Input Schema
|
|
1734
|
+
export const MSIXPackagesListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1735
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1736
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1737
|
+
"api-version": Schema.String,
|
|
1738
|
+
pageSize: Schema.optional(Schema.Number),
|
|
1739
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
1740
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
1741
|
+
}).pipe(
|
|
1742
|
+
T.Http({
|
|
1743
|
+
method: "GET",
|
|
1744
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages",
|
|
1745
|
+
}),
|
|
1746
|
+
);
|
|
1747
|
+
export type MSIXPackagesListInput = typeof MSIXPackagesListInput.Type;
|
|
1748
|
+
|
|
1749
|
+
// Output Schema
|
|
1750
|
+
export const MSIXPackagesListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
1751
|
+
{
|
|
1752
|
+
value: Schema.optional(
|
|
1753
|
+
Schema.Array(
|
|
1754
|
+
Schema.Struct({
|
|
1755
|
+
id: Schema.optional(Schema.String),
|
|
1756
|
+
name: Schema.optional(Schema.String),
|
|
1757
|
+
type: Schema.optional(Schema.String),
|
|
1758
|
+
systemData: Schema.optional(
|
|
1759
|
+
Schema.Struct({
|
|
1760
|
+
createdBy: Schema.optional(Schema.String),
|
|
1761
|
+
createdByType: Schema.optional(
|
|
1762
|
+
Schema.Literals([
|
|
1763
|
+
"User",
|
|
1764
|
+
"Application",
|
|
1765
|
+
"ManagedIdentity",
|
|
1766
|
+
"Key",
|
|
1767
|
+
]),
|
|
1768
|
+
),
|
|
1769
|
+
createdAt: Schema.optional(Schema.String),
|
|
1770
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1771
|
+
lastModifiedByType: Schema.optional(
|
|
1772
|
+
Schema.Literals([
|
|
1773
|
+
"User",
|
|
1774
|
+
"Application",
|
|
1775
|
+
"ManagedIdentity",
|
|
1776
|
+
"Key",
|
|
1777
|
+
]),
|
|
1778
|
+
),
|
|
1779
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1780
|
+
}),
|
|
1781
|
+
),
|
|
1782
|
+
}),
|
|
1783
|
+
),
|
|
1784
|
+
),
|
|
1785
|
+
nextLink: Schema.optional(Schema.String),
|
|
1786
|
+
},
|
|
1787
|
+
);
|
|
1788
|
+
export type MSIXPackagesListOutput = typeof MSIXPackagesListOutput.Type;
|
|
1789
|
+
|
|
1790
|
+
// The operation
|
|
1791
|
+
/**
|
|
1792
|
+
* List MSIX packages in hostpool.
|
|
1793
|
+
*
|
|
1794
|
+
* @param api-version - The API version to use for this operation.
|
|
1795
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1796
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1797
|
+
* @param pageSize - Number of items per page.
|
|
1798
|
+
* @param isDescending - Indicates whether the collection is descending.
|
|
1799
|
+
* @param initialSkip - Initial number of items to skip.
|
|
1800
|
+
*/
|
|
1801
|
+
export const MSIXPackagesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1802
|
+
inputSchema: MSIXPackagesListInput,
|
|
1803
|
+
outputSchema: MSIXPackagesListOutput,
|
|
1804
|
+
}));
|
|
1805
|
+
// Input Schema
|
|
1806
|
+
export const MSIXPackagesUpdateInput =
|
|
1807
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1808
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1809
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1810
|
+
"api-version": Schema.String,
|
|
1811
|
+
}).pipe(
|
|
1812
|
+
T.Http({
|
|
1813
|
+
method: "PATCH",
|
|
1814
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}",
|
|
1815
|
+
}),
|
|
1816
|
+
);
|
|
1817
|
+
export type MSIXPackagesUpdateInput = typeof MSIXPackagesUpdateInput.Type;
|
|
1818
|
+
|
|
1819
|
+
// Output Schema
|
|
1820
|
+
export const MSIXPackagesUpdateOutput =
|
|
1821
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1822
|
+
id: Schema.optional(Schema.String),
|
|
1823
|
+
name: Schema.optional(Schema.String),
|
|
1824
|
+
type: Schema.optional(Schema.String),
|
|
1825
|
+
systemData: Schema.optional(
|
|
1826
|
+
Schema.Struct({
|
|
1827
|
+
createdBy: Schema.optional(Schema.String),
|
|
1828
|
+
createdByType: Schema.optional(
|
|
1829
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
1830
|
+
),
|
|
1831
|
+
createdAt: Schema.optional(Schema.String),
|
|
1832
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1833
|
+
lastModifiedByType: Schema.optional(
|
|
1834
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
1835
|
+
),
|
|
1836
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1837
|
+
}),
|
|
1838
|
+
),
|
|
1839
|
+
});
|
|
1840
|
+
export type MSIXPackagesUpdateOutput = typeof MSIXPackagesUpdateOutput.Type;
|
|
1841
|
+
|
|
1842
|
+
// The operation
|
|
1843
|
+
/**
|
|
1844
|
+
* Update an MSIX Package.
|
|
1845
|
+
*
|
|
1846
|
+
* @param api-version - The API version to use for this operation.
|
|
1847
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1848
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1849
|
+
*/
|
|
1850
|
+
export const MSIXPackagesUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1851
|
+
inputSchema: MSIXPackagesUpdateInput,
|
|
1852
|
+
outputSchema: MSIXPackagesUpdateOutput,
|
|
1853
|
+
}));
|
|
1854
|
+
// Input Schema
|
|
1855
|
+
export const OperationsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1856
|
+
"api-version": Schema.String,
|
|
1857
|
+
}).pipe(
|
|
1858
|
+
T.Http({
|
|
1859
|
+
method: "GET",
|
|
1860
|
+
path: "/providers/Microsoft.DesktopVirtualization/operations",
|
|
1861
|
+
}),
|
|
1862
|
+
);
|
|
1863
|
+
export type OperationsListInput = typeof OperationsListInput.Type;
|
|
1864
|
+
|
|
1865
|
+
// Output Schema
|
|
1866
|
+
export const OperationsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1867
|
+
value: Schema.optional(
|
|
1868
|
+
Schema.Array(
|
|
1869
|
+
Schema.Struct({
|
|
1870
|
+
name: Schema.optional(Schema.String),
|
|
1871
|
+
display: Schema.optional(
|
|
1872
|
+
Schema.Struct({
|
|
1873
|
+
provider: Schema.optional(Schema.String),
|
|
1874
|
+
resource: Schema.optional(Schema.String),
|
|
1875
|
+
operation: Schema.optional(Schema.String),
|
|
1876
|
+
description: Schema.optional(Schema.String),
|
|
1877
|
+
}),
|
|
1878
|
+
),
|
|
1879
|
+
isDataAction: Schema.optional(Schema.Boolean),
|
|
1880
|
+
properties: Schema.optional(
|
|
1881
|
+
Schema.Struct({
|
|
1882
|
+
serviceSpecification: Schema.optional(
|
|
1883
|
+
Schema.Struct({
|
|
1884
|
+
logSpecifications: Schema.optional(
|
|
1885
|
+
Schema.Array(
|
|
1886
|
+
Schema.Struct({
|
|
1887
|
+
name: Schema.optional(Schema.String),
|
|
1888
|
+
displayName: Schema.optional(Schema.String),
|
|
1889
|
+
blobDuration: Schema.optional(Schema.String),
|
|
1890
|
+
}),
|
|
1891
|
+
),
|
|
1892
|
+
),
|
|
1893
|
+
}),
|
|
1894
|
+
),
|
|
1895
|
+
}),
|
|
1896
|
+
),
|
|
1897
|
+
}),
|
|
1898
|
+
),
|
|
1899
|
+
),
|
|
1900
|
+
nextLink: Schema.optional(Schema.String),
|
|
1901
|
+
});
|
|
1902
|
+
export type OperationsListOutput = typeof OperationsListOutput.Type;
|
|
1903
|
+
|
|
1904
|
+
// The operation
|
|
1905
|
+
/**
|
|
1906
|
+
* List all of the available operations the Desktop Virtualization resource provider supports.
|
|
1907
|
+
*
|
|
1908
|
+
* @param api-version - The API version to use for this operation.
|
|
1909
|
+
*/
|
|
1910
|
+
export const OperationsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1911
|
+
inputSchema: OperationsListInput,
|
|
1912
|
+
outputSchema: OperationsListOutput,
|
|
1913
|
+
}));
|
|
1914
|
+
// Input Schema
|
|
1915
|
+
export const PrivateEndpointConnectionsDeleteByHostPoolInput =
|
|
1916
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1917
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1918
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1919
|
+
privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
|
|
1920
|
+
"api-version": Schema.String,
|
|
1921
|
+
}).pipe(
|
|
1922
|
+
T.Http({
|
|
1923
|
+
method: "DELETE",
|
|
1924
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
1925
|
+
}),
|
|
1926
|
+
);
|
|
1927
|
+
export type PrivateEndpointConnectionsDeleteByHostPoolInput =
|
|
1928
|
+
typeof PrivateEndpointConnectionsDeleteByHostPoolInput.Type;
|
|
1929
|
+
|
|
1930
|
+
// Output Schema
|
|
1931
|
+
export const PrivateEndpointConnectionsDeleteByHostPoolOutput =
|
|
1932
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
1933
|
+
export type PrivateEndpointConnectionsDeleteByHostPoolOutput =
|
|
1934
|
+
typeof PrivateEndpointConnectionsDeleteByHostPoolOutput.Type;
|
|
1935
|
+
|
|
1936
|
+
// The operation
|
|
1937
|
+
/**
|
|
1938
|
+
* Remove a connection.
|
|
1939
|
+
*
|
|
1940
|
+
* @param api-version - The API version to use for this operation.
|
|
1941
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1942
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1943
|
+
* @param privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
|
|
1944
|
+
*/
|
|
1945
|
+
export const PrivateEndpointConnectionsDeleteByHostPool =
|
|
1946
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1947
|
+
inputSchema: PrivateEndpointConnectionsDeleteByHostPoolInput,
|
|
1948
|
+
outputSchema: PrivateEndpointConnectionsDeleteByHostPoolOutput,
|
|
1949
|
+
}));
|
|
1950
|
+
// Input Schema
|
|
1951
|
+
export const PrivateEndpointConnectionsDeleteByWorkspaceInput =
|
|
1952
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1953
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1954
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1955
|
+
privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
|
|
1956
|
+
"api-version": Schema.String,
|
|
1957
|
+
}).pipe(
|
|
1958
|
+
T.Http({
|
|
1959
|
+
method: "DELETE",
|
|
1960
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
1961
|
+
}),
|
|
1962
|
+
);
|
|
1963
|
+
export type PrivateEndpointConnectionsDeleteByWorkspaceInput =
|
|
1964
|
+
typeof PrivateEndpointConnectionsDeleteByWorkspaceInput.Type;
|
|
1965
|
+
|
|
1966
|
+
// Output Schema
|
|
1967
|
+
export const PrivateEndpointConnectionsDeleteByWorkspaceOutput =
|
|
1968
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
1969
|
+
export type PrivateEndpointConnectionsDeleteByWorkspaceOutput =
|
|
1970
|
+
typeof PrivateEndpointConnectionsDeleteByWorkspaceOutput.Type;
|
|
1971
|
+
|
|
1972
|
+
// The operation
|
|
1973
|
+
/**
|
|
1974
|
+
* Remove a connection.
|
|
1975
|
+
*
|
|
1976
|
+
* @param api-version - The API version to use for this operation.
|
|
1977
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1978
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1979
|
+
* @param privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
|
|
1980
|
+
*/
|
|
1981
|
+
export const PrivateEndpointConnectionsDeleteByWorkspace =
|
|
1982
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1983
|
+
inputSchema: PrivateEndpointConnectionsDeleteByWorkspaceInput,
|
|
1984
|
+
outputSchema: PrivateEndpointConnectionsDeleteByWorkspaceOutput,
|
|
1985
|
+
}));
|
|
1986
|
+
// Input Schema
|
|
1987
|
+
export const PrivateEndpointConnectionsGetByHostPoolInput =
|
|
1988
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1989
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1990
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1991
|
+
privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
|
|
1992
|
+
"api-version": Schema.String,
|
|
1993
|
+
}).pipe(
|
|
1994
|
+
T.Http({
|
|
1995
|
+
method: "GET",
|
|
1996
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
1997
|
+
}),
|
|
1998
|
+
);
|
|
1999
|
+
export type PrivateEndpointConnectionsGetByHostPoolInput =
|
|
2000
|
+
typeof PrivateEndpointConnectionsGetByHostPoolInput.Type;
|
|
2001
|
+
|
|
2002
|
+
// Output Schema
|
|
2003
|
+
export const PrivateEndpointConnectionsGetByHostPoolOutput =
|
|
2004
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2005
|
+
properties: Schema.optional(
|
|
2006
|
+
Schema.Struct({
|
|
2007
|
+
groupIds: Schema.optional(Schema.Array(Schema.String)),
|
|
2008
|
+
privateEndpoint: Schema.optional(
|
|
2009
|
+
Schema.Struct({
|
|
2010
|
+
id: Schema.optional(Schema.String),
|
|
2011
|
+
}),
|
|
2012
|
+
),
|
|
2013
|
+
privateLinkServiceConnectionState: Schema.Struct({
|
|
2014
|
+
status: Schema.optional(
|
|
2015
|
+
Schema.Literals(["Pending", "Approved", "Rejected"]),
|
|
2016
|
+
),
|
|
2017
|
+
description: Schema.optional(Schema.String),
|
|
2018
|
+
actionsRequired: Schema.optional(Schema.String),
|
|
2019
|
+
}),
|
|
2020
|
+
provisioningState: Schema.optional(
|
|
2021
|
+
Schema.Literals(["Succeeded", "Creating", "Deleting", "Failed"]),
|
|
2022
|
+
),
|
|
2023
|
+
}),
|
|
2024
|
+
),
|
|
2025
|
+
});
|
|
2026
|
+
export type PrivateEndpointConnectionsGetByHostPoolOutput =
|
|
2027
|
+
typeof PrivateEndpointConnectionsGetByHostPoolOutput.Type;
|
|
2028
|
+
|
|
2029
|
+
// The operation
|
|
2030
|
+
/**
|
|
2031
|
+
* Get a private endpoint connection.
|
|
2032
|
+
*
|
|
2033
|
+
* @param api-version - The API version to use for this operation.
|
|
2034
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2035
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2036
|
+
* @param privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
|
|
2037
|
+
*/
|
|
2038
|
+
export const PrivateEndpointConnectionsGetByHostPool =
|
|
2039
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2040
|
+
inputSchema: PrivateEndpointConnectionsGetByHostPoolInput,
|
|
2041
|
+
outputSchema: PrivateEndpointConnectionsGetByHostPoolOutput,
|
|
2042
|
+
}));
|
|
2043
|
+
// Input Schema
|
|
2044
|
+
export const PrivateEndpointConnectionsGetByWorkspaceInput =
|
|
2045
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2046
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2047
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2048
|
+
privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
|
|
2049
|
+
"api-version": Schema.String,
|
|
2050
|
+
}).pipe(
|
|
2051
|
+
T.Http({
|
|
2052
|
+
method: "GET",
|
|
2053
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
2054
|
+
}),
|
|
2055
|
+
);
|
|
2056
|
+
export type PrivateEndpointConnectionsGetByWorkspaceInput =
|
|
2057
|
+
typeof PrivateEndpointConnectionsGetByWorkspaceInput.Type;
|
|
2058
|
+
|
|
2059
|
+
// Output Schema
|
|
2060
|
+
export const PrivateEndpointConnectionsGetByWorkspaceOutput =
|
|
2061
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2062
|
+
properties: Schema.optional(
|
|
2063
|
+
Schema.Struct({
|
|
2064
|
+
groupIds: Schema.optional(Schema.Array(Schema.String)),
|
|
2065
|
+
privateEndpoint: Schema.optional(
|
|
2066
|
+
Schema.Struct({
|
|
2067
|
+
id: Schema.optional(Schema.String),
|
|
2068
|
+
}),
|
|
2069
|
+
),
|
|
2070
|
+
privateLinkServiceConnectionState: Schema.Struct({
|
|
2071
|
+
status: Schema.optional(
|
|
2072
|
+
Schema.Literals(["Pending", "Approved", "Rejected"]),
|
|
2073
|
+
),
|
|
2074
|
+
description: Schema.optional(Schema.String),
|
|
2075
|
+
actionsRequired: Schema.optional(Schema.String),
|
|
2076
|
+
}),
|
|
2077
|
+
provisioningState: Schema.optional(
|
|
2078
|
+
Schema.Literals(["Succeeded", "Creating", "Deleting", "Failed"]),
|
|
2079
|
+
),
|
|
2080
|
+
}),
|
|
2081
|
+
),
|
|
2082
|
+
});
|
|
2083
|
+
export type PrivateEndpointConnectionsGetByWorkspaceOutput =
|
|
2084
|
+
typeof PrivateEndpointConnectionsGetByWorkspaceOutput.Type;
|
|
2085
|
+
|
|
2086
|
+
// The operation
|
|
2087
|
+
/**
|
|
2088
|
+
* Get a private endpoint connection.
|
|
2089
|
+
*
|
|
2090
|
+
* @param api-version - The API version to use for this operation.
|
|
2091
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2092
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2093
|
+
* @param privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
|
|
2094
|
+
*/
|
|
2095
|
+
export const PrivateEndpointConnectionsGetByWorkspace =
|
|
2096
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2097
|
+
inputSchema: PrivateEndpointConnectionsGetByWorkspaceInput,
|
|
2098
|
+
outputSchema: PrivateEndpointConnectionsGetByWorkspaceOutput,
|
|
2099
|
+
}));
|
|
2100
|
+
// Input Schema
|
|
2101
|
+
export const PrivateEndpointConnectionsListByHostPoolInput =
|
|
2102
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2103
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2104
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2105
|
+
"api-version": Schema.String,
|
|
2106
|
+
pageSize: Schema.optional(Schema.Number),
|
|
2107
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
2108
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
2109
|
+
}).pipe(
|
|
2110
|
+
T.Http({
|
|
2111
|
+
method: "GET",
|
|
2112
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/privateEndpointConnections",
|
|
2113
|
+
}),
|
|
2114
|
+
);
|
|
2115
|
+
export type PrivateEndpointConnectionsListByHostPoolInput =
|
|
2116
|
+
typeof PrivateEndpointConnectionsListByHostPoolInput.Type;
|
|
2117
|
+
|
|
2118
|
+
// Output Schema
|
|
2119
|
+
export const PrivateEndpointConnectionsListByHostPoolOutput =
|
|
2120
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2121
|
+
value: Schema.optional(
|
|
2122
|
+
Schema.Array(
|
|
2123
|
+
Schema.Struct({
|
|
2124
|
+
properties: Schema.optional(
|
|
2125
|
+
Schema.Struct({
|
|
2126
|
+
groupIds: Schema.optional(Schema.Array(Schema.String)),
|
|
2127
|
+
privateEndpoint: Schema.optional(
|
|
2128
|
+
Schema.Struct({
|
|
2129
|
+
id: Schema.optional(Schema.String),
|
|
2130
|
+
}),
|
|
2131
|
+
),
|
|
2132
|
+
privateLinkServiceConnectionState: Schema.Struct({
|
|
2133
|
+
status: Schema.optional(
|
|
2134
|
+
Schema.Literals(["Pending", "Approved", "Rejected"]),
|
|
2135
|
+
),
|
|
2136
|
+
description: Schema.optional(Schema.String),
|
|
2137
|
+
actionsRequired: Schema.optional(Schema.String),
|
|
2138
|
+
}),
|
|
2139
|
+
provisioningState: Schema.optional(
|
|
2140
|
+
Schema.Literals([
|
|
2141
|
+
"Succeeded",
|
|
2142
|
+
"Creating",
|
|
2143
|
+
"Deleting",
|
|
2144
|
+
"Failed",
|
|
2145
|
+
]),
|
|
2146
|
+
),
|
|
2147
|
+
}),
|
|
2148
|
+
),
|
|
2149
|
+
}),
|
|
2150
|
+
),
|
|
2151
|
+
),
|
|
2152
|
+
nextLink: Schema.optional(Schema.String),
|
|
2153
|
+
});
|
|
2154
|
+
export type PrivateEndpointConnectionsListByHostPoolOutput =
|
|
2155
|
+
typeof PrivateEndpointConnectionsListByHostPoolOutput.Type;
|
|
2156
|
+
|
|
2157
|
+
// The operation
|
|
2158
|
+
/**
|
|
2159
|
+
* List private endpoint connections associated with hostpool.
|
|
2160
|
+
*
|
|
2161
|
+
* @param api-version - The API version to use for this operation.
|
|
2162
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2163
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2164
|
+
* @param pageSize - Number of items per page.
|
|
2165
|
+
* @param isDescending - Indicates whether the collection is descending.
|
|
2166
|
+
* @param initialSkip - Initial number of items to skip.
|
|
2167
|
+
*/
|
|
2168
|
+
export const PrivateEndpointConnectionsListByHostPool =
|
|
2169
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2170
|
+
inputSchema: PrivateEndpointConnectionsListByHostPoolInput,
|
|
2171
|
+
outputSchema: PrivateEndpointConnectionsListByHostPoolOutput,
|
|
2172
|
+
}));
|
|
2173
|
+
// Input Schema
|
|
2174
|
+
export const PrivateEndpointConnectionsListByWorkspaceInput =
|
|
2175
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2176
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2177
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2178
|
+
"api-version": Schema.String,
|
|
2179
|
+
}).pipe(
|
|
2180
|
+
T.Http({
|
|
2181
|
+
method: "GET",
|
|
2182
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections",
|
|
2183
|
+
}),
|
|
2184
|
+
);
|
|
2185
|
+
export type PrivateEndpointConnectionsListByWorkspaceInput =
|
|
2186
|
+
typeof PrivateEndpointConnectionsListByWorkspaceInput.Type;
|
|
2187
|
+
|
|
2188
|
+
// Output Schema
|
|
2189
|
+
export const PrivateEndpointConnectionsListByWorkspaceOutput =
|
|
2190
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2191
|
+
value: Schema.optional(
|
|
2192
|
+
Schema.Array(
|
|
2193
|
+
Schema.Struct({
|
|
2194
|
+
properties: Schema.optional(
|
|
2195
|
+
Schema.Struct({
|
|
2196
|
+
groupIds: Schema.optional(Schema.Array(Schema.String)),
|
|
2197
|
+
privateEndpoint: Schema.optional(
|
|
2198
|
+
Schema.Struct({
|
|
2199
|
+
id: Schema.optional(Schema.String),
|
|
2200
|
+
}),
|
|
2201
|
+
),
|
|
2202
|
+
privateLinkServiceConnectionState: Schema.Struct({
|
|
2203
|
+
status: Schema.optional(
|
|
2204
|
+
Schema.Literals(["Pending", "Approved", "Rejected"]),
|
|
2205
|
+
),
|
|
2206
|
+
description: Schema.optional(Schema.String),
|
|
2207
|
+
actionsRequired: Schema.optional(Schema.String),
|
|
2208
|
+
}),
|
|
2209
|
+
provisioningState: Schema.optional(
|
|
2210
|
+
Schema.Literals([
|
|
2211
|
+
"Succeeded",
|
|
2212
|
+
"Creating",
|
|
2213
|
+
"Deleting",
|
|
2214
|
+
"Failed",
|
|
2215
|
+
]),
|
|
2216
|
+
),
|
|
2217
|
+
}),
|
|
2218
|
+
),
|
|
2219
|
+
}),
|
|
2220
|
+
),
|
|
2221
|
+
),
|
|
2222
|
+
nextLink: Schema.optional(Schema.String),
|
|
2223
|
+
});
|
|
2224
|
+
export type PrivateEndpointConnectionsListByWorkspaceOutput =
|
|
2225
|
+
typeof PrivateEndpointConnectionsListByWorkspaceOutput.Type;
|
|
2226
|
+
|
|
2227
|
+
// The operation
|
|
2228
|
+
/**
|
|
2229
|
+
* List private endpoint connections.
|
|
2230
|
+
*
|
|
2231
|
+
* @param api-version - The API version to use for this operation.
|
|
2232
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2233
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2234
|
+
*/
|
|
2235
|
+
export const PrivateEndpointConnectionsListByWorkspace =
|
|
2236
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2237
|
+
inputSchema: PrivateEndpointConnectionsListByWorkspaceInput,
|
|
2238
|
+
outputSchema: PrivateEndpointConnectionsListByWorkspaceOutput,
|
|
2239
|
+
}));
|
|
2240
|
+
// Input Schema
|
|
2241
|
+
export const PrivateEndpointConnectionsUpdateByHostPoolInput =
|
|
2242
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2243
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2244
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2245
|
+
privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
|
|
2246
|
+
"api-version": Schema.String,
|
|
2247
|
+
properties: Schema.optional(
|
|
2248
|
+
Schema.Struct({
|
|
2249
|
+
groupIds: Schema.optional(Schema.Array(Schema.String)),
|
|
2250
|
+
privateEndpoint: Schema.optional(
|
|
2251
|
+
Schema.Struct({
|
|
2252
|
+
id: Schema.optional(Schema.String),
|
|
2253
|
+
}),
|
|
2254
|
+
),
|
|
2255
|
+
privateLinkServiceConnectionState: Schema.Struct({
|
|
2256
|
+
status: Schema.optional(
|
|
2257
|
+
Schema.Literals(["Pending", "Approved", "Rejected"]),
|
|
2258
|
+
),
|
|
2259
|
+
description: Schema.optional(Schema.String),
|
|
2260
|
+
actionsRequired: Schema.optional(Schema.String),
|
|
2261
|
+
}),
|
|
2262
|
+
provisioningState: Schema.optional(
|
|
2263
|
+
Schema.Literals(["Succeeded", "Creating", "Deleting", "Failed"]),
|
|
2264
|
+
),
|
|
2265
|
+
}),
|
|
2266
|
+
),
|
|
2267
|
+
}).pipe(
|
|
2268
|
+
T.Http({
|
|
2269
|
+
method: "PUT",
|
|
2270
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
2271
|
+
}),
|
|
2272
|
+
);
|
|
2273
|
+
export type PrivateEndpointConnectionsUpdateByHostPoolInput =
|
|
2274
|
+
typeof PrivateEndpointConnectionsUpdateByHostPoolInput.Type;
|
|
2275
|
+
|
|
2276
|
+
// Output Schema
|
|
2277
|
+
export const PrivateEndpointConnectionsUpdateByHostPoolOutput =
|
|
2278
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2279
|
+
properties: Schema.optional(
|
|
2280
|
+
Schema.Struct({
|
|
2281
|
+
groupIds: Schema.optional(Schema.Array(Schema.String)),
|
|
2282
|
+
privateEndpoint: Schema.optional(
|
|
2283
|
+
Schema.Struct({
|
|
2284
|
+
id: Schema.optional(Schema.String),
|
|
2285
|
+
}),
|
|
2286
|
+
),
|
|
2287
|
+
privateLinkServiceConnectionState: Schema.Struct({
|
|
2288
|
+
status: Schema.optional(
|
|
2289
|
+
Schema.Literals(["Pending", "Approved", "Rejected"]),
|
|
2290
|
+
),
|
|
2291
|
+
description: Schema.optional(Schema.String),
|
|
2292
|
+
actionsRequired: Schema.optional(Schema.String),
|
|
2293
|
+
}),
|
|
2294
|
+
provisioningState: Schema.optional(
|
|
2295
|
+
Schema.Literals(["Succeeded", "Creating", "Deleting", "Failed"]),
|
|
2296
|
+
),
|
|
2297
|
+
}),
|
|
2298
|
+
),
|
|
2299
|
+
});
|
|
2300
|
+
export type PrivateEndpointConnectionsUpdateByHostPoolOutput =
|
|
2301
|
+
typeof PrivateEndpointConnectionsUpdateByHostPoolOutput.Type;
|
|
2302
|
+
|
|
2303
|
+
// The operation
|
|
2304
|
+
/**
|
|
2305
|
+
* Approve or reject a private endpoint connection.
|
|
2306
|
+
*
|
|
2307
|
+
* @param api-version - The API version to use for this operation.
|
|
2308
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2309
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2310
|
+
* @param privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
|
|
2311
|
+
* @param properties - Resource properties.
|
|
2312
|
+
*/
|
|
2313
|
+
export const PrivateEndpointConnectionsUpdateByHostPool =
|
|
2314
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2315
|
+
inputSchema: PrivateEndpointConnectionsUpdateByHostPoolInput,
|
|
2316
|
+
outputSchema: PrivateEndpointConnectionsUpdateByHostPoolOutput,
|
|
2317
|
+
}));
|
|
2318
|
+
// Input Schema
|
|
2319
|
+
export const PrivateEndpointConnectionsUpdateByWorkspaceInput =
|
|
2320
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2321
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2322
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2323
|
+
privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
|
|
2324
|
+
"api-version": Schema.String,
|
|
2325
|
+
properties: Schema.optional(
|
|
2326
|
+
Schema.Struct({
|
|
2327
|
+
groupIds: Schema.optional(Schema.Array(Schema.String)),
|
|
2328
|
+
privateEndpoint: Schema.optional(
|
|
2329
|
+
Schema.Struct({
|
|
2330
|
+
id: Schema.optional(Schema.String),
|
|
2331
|
+
}),
|
|
2332
|
+
),
|
|
2333
|
+
privateLinkServiceConnectionState: Schema.Struct({
|
|
2334
|
+
status: Schema.optional(
|
|
2335
|
+
Schema.Literals(["Pending", "Approved", "Rejected"]),
|
|
2336
|
+
),
|
|
2337
|
+
description: Schema.optional(Schema.String),
|
|
2338
|
+
actionsRequired: Schema.optional(Schema.String),
|
|
2339
|
+
}),
|
|
2340
|
+
provisioningState: Schema.optional(
|
|
2341
|
+
Schema.Literals(["Succeeded", "Creating", "Deleting", "Failed"]),
|
|
2342
|
+
),
|
|
2343
|
+
}),
|
|
2344
|
+
),
|
|
2345
|
+
}).pipe(
|
|
2346
|
+
T.Http({
|
|
2347
|
+
method: "PUT",
|
|
2348
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
2349
|
+
}),
|
|
2350
|
+
);
|
|
2351
|
+
export type PrivateEndpointConnectionsUpdateByWorkspaceInput =
|
|
2352
|
+
typeof PrivateEndpointConnectionsUpdateByWorkspaceInput.Type;
|
|
2353
|
+
|
|
2354
|
+
// Output Schema
|
|
2355
|
+
export const PrivateEndpointConnectionsUpdateByWorkspaceOutput =
|
|
2356
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2357
|
+
properties: Schema.optional(
|
|
2358
|
+
Schema.Struct({
|
|
2359
|
+
groupIds: Schema.optional(Schema.Array(Schema.String)),
|
|
2360
|
+
privateEndpoint: Schema.optional(
|
|
2361
|
+
Schema.Struct({
|
|
2362
|
+
id: Schema.optional(Schema.String),
|
|
2363
|
+
}),
|
|
2364
|
+
),
|
|
2365
|
+
privateLinkServiceConnectionState: Schema.Struct({
|
|
2366
|
+
status: Schema.optional(
|
|
2367
|
+
Schema.Literals(["Pending", "Approved", "Rejected"]),
|
|
2368
|
+
),
|
|
2369
|
+
description: Schema.optional(Schema.String),
|
|
2370
|
+
actionsRequired: Schema.optional(Schema.String),
|
|
2371
|
+
}),
|
|
2372
|
+
provisioningState: Schema.optional(
|
|
2373
|
+
Schema.Literals(["Succeeded", "Creating", "Deleting", "Failed"]),
|
|
2374
|
+
),
|
|
2375
|
+
}),
|
|
2376
|
+
),
|
|
2377
|
+
});
|
|
2378
|
+
export type PrivateEndpointConnectionsUpdateByWorkspaceOutput =
|
|
2379
|
+
typeof PrivateEndpointConnectionsUpdateByWorkspaceOutput.Type;
|
|
2380
|
+
|
|
2381
|
+
// The operation
|
|
2382
|
+
/**
|
|
2383
|
+
* Approve or reject a private endpoint connection.
|
|
2384
|
+
*
|
|
2385
|
+
* @param api-version - The API version to use for this operation.
|
|
2386
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2387
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2388
|
+
* @param privateEndpointConnectionName - The name of the private endpoint connection associated with the Azure resource.
|
|
2389
|
+
* @param properties - Resource properties.
|
|
2390
|
+
*/
|
|
2391
|
+
export const PrivateEndpointConnectionsUpdateByWorkspace =
|
|
2392
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2393
|
+
inputSchema: PrivateEndpointConnectionsUpdateByWorkspaceInput,
|
|
2394
|
+
outputSchema: PrivateEndpointConnectionsUpdateByWorkspaceOutput,
|
|
2395
|
+
}));
|
|
2396
|
+
// Input Schema
|
|
2397
|
+
export const PrivateLinkResourcesListByHostPoolInput =
|
|
2398
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2399
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2400
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2401
|
+
"api-version": Schema.String,
|
|
2402
|
+
pageSize: Schema.optional(Schema.Number),
|
|
2403
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
2404
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
2405
|
+
}).pipe(
|
|
2406
|
+
T.Http({
|
|
2407
|
+
method: "GET",
|
|
2408
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/privateLinkResources",
|
|
2409
|
+
}),
|
|
2410
|
+
);
|
|
2411
|
+
export type PrivateLinkResourcesListByHostPoolInput =
|
|
2412
|
+
typeof PrivateLinkResourcesListByHostPoolInput.Type;
|
|
2413
|
+
|
|
2414
|
+
// Output Schema
|
|
2415
|
+
export const PrivateLinkResourcesListByHostPoolOutput =
|
|
2416
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2417
|
+
value: Schema.optional(
|
|
2418
|
+
Schema.Array(
|
|
2419
|
+
Schema.Struct({
|
|
2420
|
+
id: Schema.optional(Schema.String),
|
|
2421
|
+
name: Schema.optional(Schema.String),
|
|
2422
|
+
type: Schema.optional(Schema.String),
|
|
2423
|
+
systemData: Schema.optional(
|
|
2424
|
+
Schema.Struct({
|
|
2425
|
+
createdBy: Schema.optional(Schema.String),
|
|
2426
|
+
createdByType: Schema.optional(
|
|
2427
|
+
Schema.Literals([
|
|
2428
|
+
"User",
|
|
2429
|
+
"Application",
|
|
2430
|
+
"ManagedIdentity",
|
|
2431
|
+
"Key",
|
|
2432
|
+
]),
|
|
2433
|
+
),
|
|
2434
|
+
createdAt: Schema.optional(Schema.String),
|
|
2435
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
2436
|
+
lastModifiedByType: Schema.optional(
|
|
2437
|
+
Schema.Literals([
|
|
2438
|
+
"User",
|
|
2439
|
+
"Application",
|
|
2440
|
+
"ManagedIdentity",
|
|
2441
|
+
"Key",
|
|
2442
|
+
]),
|
|
2443
|
+
),
|
|
2444
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
2445
|
+
}),
|
|
2446
|
+
),
|
|
2447
|
+
}),
|
|
2448
|
+
),
|
|
2449
|
+
),
|
|
2450
|
+
nextLink: Schema.optional(Schema.String),
|
|
2451
|
+
});
|
|
2452
|
+
export type PrivateLinkResourcesListByHostPoolOutput =
|
|
2453
|
+
typeof PrivateLinkResourcesListByHostPoolOutput.Type;
|
|
2454
|
+
|
|
2455
|
+
// The operation
|
|
2456
|
+
/**
|
|
2457
|
+
* List the private link resources available for this hostpool.
|
|
2458
|
+
*
|
|
2459
|
+
* @param api-version - The API version to use for this operation.
|
|
2460
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2461
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2462
|
+
* @param pageSize - Number of items per page.
|
|
2463
|
+
* @param isDescending - Indicates whether the collection is descending.
|
|
2464
|
+
* @param initialSkip - Initial number of items to skip.
|
|
2465
|
+
*/
|
|
2466
|
+
export const PrivateLinkResourcesListByHostPool =
|
|
2467
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2468
|
+
inputSchema: PrivateLinkResourcesListByHostPoolInput,
|
|
2469
|
+
outputSchema: PrivateLinkResourcesListByHostPoolOutput,
|
|
2470
|
+
}));
|
|
2471
|
+
// Input Schema
|
|
2472
|
+
export const PrivateLinkResourcesListByWorkspaceInput =
|
|
2473
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2474
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2475
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2476
|
+
"api-version": Schema.String,
|
|
2477
|
+
pageSize: Schema.optional(Schema.Number),
|
|
2478
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
2479
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
2480
|
+
}).pipe(
|
|
2481
|
+
T.Http({
|
|
2482
|
+
method: "GET",
|
|
2483
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}/privateLinkResources",
|
|
2484
|
+
}),
|
|
2485
|
+
);
|
|
2486
|
+
export type PrivateLinkResourcesListByWorkspaceInput =
|
|
2487
|
+
typeof PrivateLinkResourcesListByWorkspaceInput.Type;
|
|
2488
|
+
|
|
2489
|
+
// Output Schema
|
|
2490
|
+
export const PrivateLinkResourcesListByWorkspaceOutput =
|
|
2491
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2492
|
+
value: Schema.optional(
|
|
2493
|
+
Schema.Array(
|
|
2494
|
+
Schema.Struct({
|
|
2495
|
+
id: Schema.optional(Schema.String),
|
|
2496
|
+
name: Schema.optional(Schema.String),
|
|
2497
|
+
type: Schema.optional(Schema.String),
|
|
2498
|
+
systemData: Schema.optional(
|
|
2499
|
+
Schema.Struct({
|
|
2500
|
+
createdBy: Schema.optional(Schema.String),
|
|
2501
|
+
createdByType: Schema.optional(
|
|
2502
|
+
Schema.Literals([
|
|
2503
|
+
"User",
|
|
2504
|
+
"Application",
|
|
2505
|
+
"ManagedIdentity",
|
|
2506
|
+
"Key",
|
|
2507
|
+
]),
|
|
2508
|
+
),
|
|
2509
|
+
createdAt: Schema.optional(Schema.String),
|
|
2510
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
2511
|
+
lastModifiedByType: Schema.optional(
|
|
2512
|
+
Schema.Literals([
|
|
2513
|
+
"User",
|
|
2514
|
+
"Application",
|
|
2515
|
+
"ManagedIdentity",
|
|
2516
|
+
"Key",
|
|
2517
|
+
]),
|
|
2518
|
+
),
|
|
2519
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
2520
|
+
}),
|
|
2521
|
+
),
|
|
2522
|
+
}),
|
|
2523
|
+
),
|
|
2524
|
+
),
|
|
2525
|
+
nextLink: Schema.optional(Schema.String),
|
|
2526
|
+
});
|
|
2527
|
+
export type PrivateLinkResourcesListByWorkspaceOutput =
|
|
2528
|
+
typeof PrivateLinkResourcesListByWorkspaceOutput.Type;
|
|
2529
|
+
|
|
2530
|
+
// The operation
|
|
2531
|
+
/**
|
|
2532
|
+
* List the private link resources available for this workspace.
|
|
2533
|
+
*
|
|
2534
|
+
* @param api-version - The API version to use for this operation.
|
|
2535
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2536
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2537
|
+
* @param pageSize - Number of items per page.
|
|
2538
|
+
* @param isDescending - Indicates whether the collection is descending.
|
|
2539
|
+
* @param initialSkip - Initial number of items to skip.
|
|
2540
|
+
*/
|
|
2541
|
+
export const PrivateLinkResourcesListByWorkspace =
|
|
2542
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2543
|
+
inputSchema: PrivateLinkResourcesListByWorkspaceInput,
|
|
2544
|
+
outputSchema: PrivateLinkResourcesListByWorkspaceOutput,
|
|
2545
|
+
}));
|
|
2546
|
+
// Input Schema
|
|
2547
|
+
export const ScalingPlanPersonalSchedulesCreateInput =
|
|
2548
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2549
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2550
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2551
|
+
"api-version": Schema.String,
|
|
2552
|
+
}).pipe(
|
|
2553
|
+
T.Http({
|
|
2554
|
+
method: "PUT",
|
|
2555
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}",
|
|
2556
|
+
}),
|
|
2557
|
+
);
|
|
2558
|
+
export type ScalingPlanPersonalSchedulesCreateInput =
|
|
2559
|
+
typeof ScalingPlanPersonalSchedulesCreateInput.Type;
|
|
2560
|
+
|
|
2561
|
+
// Output Schema
|
|
2562
|
+
export const ScalingPlanPersonalSchedulesCreateOutput =
|
|
2563
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
2564
|
+
export type ScalingPlanPersonalSchedulesCreateOutput =
|
|
2565
|
+
typeof ScalingPlanPersonalSchedulesCreateOutput.Type;
|
|
2566
|
+
|
|
2567
|
+
// The operation
|
|
2568
|
+
/**
|
|
2569
|
+
* Create or update a ScalingPlanPersonalSchedule.
|
|
2570
|
+
*
|
|
2571
|
+
* @param api-version - The API version to use for this operation.
|
|
2572
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2573
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2574
|
+
*/
|
|
2575
|
+
export const ScalingPlanPersonalSchedulesCreate =
|
|
2576
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2577
|
+
inputSchema: ScalingPlanPersonalSchedulesCreateInput,
|
|
2578
|
+
outputSchema: ScalingPlanPersonalSchedulesCreateOutput,
|
|
2579
|
+
}));
|
|
2580
|
+
// Input Schema
|
|
2581
|
+
export const ScalingPlanPersonalSchedulesDeleteInput =
|
|
2582
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2583
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2584
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2585
|
+
"api-version": Schema.String,
|
|
2586
|
+
}).pipe(
|
|
2587
|
+
T.Http({
|
|
2588
|
+
method: "DELETE",
|
|
2589
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}",
|
|
2590
|
+
}),
|
|
2591
|
+
);
|
|
2592
|
+
export type ScalingPlanPersonalSchedulesDeleteInput =
|
|
2593
|
+
typeof ScalingPlanPersonalSchedulesDeleteInput.Type;
|
|
2594
|
+
|
|
2595
|
+
// Output Schema
|
|
2596
|
+
export const ScalingPlanPersonalSchedulesDeleteOutput =
|
|
2597
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
2598
|
+
export type ScalingPlanPersonalSchedulesDeleteOutput =
|
|
2599
|
+
typeof ScalingPlanPersonalSchedulesDeleteOutput.Type;
|
|
2600
|
+
|
|
2601
|
+
// The operation
|
|
2602
|
+
/**
|
|
2603
|
+
* Remove a ScalingPlanPersonalSchedule.
|
|
2604
|
+
*
|
|
2605
|
+
* @param api-version - The API version to use for this operation.
|
|
2606
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2607
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2608
|
+
*/
|
|
2609
|
+
export const ScalingPlanPersonalSchedulesDelete =
|
|
2610
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2611
|
+
inputSchema: ScalingPlanPersonalSchedulesDeleteInput,
|
|
2612
|
+
outputSchema: ScalingPlanPersonalSchedulesDeleteOutput,
|
|
2613
|
+
}));
|
|
2614
|
+
// Input Schema
|
|
2615
|
+
export const ScalingPlanPersonalSchedulesGetInput =
|
|
2616
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2617
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2618
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2619
|
+
"api-version": Schema.String,
|
|
2620
|
+
}).pipe(
|
|
2621
|
+
T.Http({
|
|
2622
|
+
method: "GET",
|
|
2623
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}",
|
|
2624
|
+
}),
|
|
2625
|
+
);
|
|
2626
|
+
export type ScalingPlanPersonalSchedulesGetInput =
|
|
2627
|
+
typeof ScalingPlanPersonalSchedulesGetInput.Type;
|
|
2628
|
+
|
|
2629
|
+
// Output Schema
|
|
2630
|
+
export const ScalingPlanPersonalSchedulesGetOutput =
|
|
2631
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
2632
|
+
export type ScalingPlanPersonalSchedulesGetOutput =
|
|
2633
|
+
typeof ScalingPlanPersonalSchedulesGetOutput.Type;
|
|
2634
|
+
|
|
2635
|
+
// The operation
|
|
2636
|
+
/**
|
|
2637
|
+
* Get a ScalingPlanPersonalSchedule.
|
|
2638
|
+
*
|
|
2639
|
+
* @param api-version - The API version to use for this operation.
|
|
2640
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2641
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2642
|
+
*/
|
|
2643
|
+
export const ScalingPlanPersonalSchedulesGet =
|
|
2644
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2645
|
+
inputSchema: ScalingPlanPersonalSchedulesGetInput,
|
|
2646
|
+
outputSchema: ScalingPlanPersonalSchedulesGetOutput,
|
|
2647
|
+
}));
|
|
2648
|
+
// Input Schema
|
|
2649
|
+
export const ScalingPlanPersonalSchedulesListInput =
|
|
2650
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2651
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2652
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2653
|
+
"api-version": Schema.String,
|
|
2654
|
+
pageSize: Schema.optional(Schema.Number),
|
|
2655
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
2656
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
2657
|
+
}).pipe(
|
|
2658
|
+
T.Http({
|
|
2659
|
+
method: "GET",
|
|
2660
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules",
|
|
2661
|
+
}),
|
|
2662
|
+
);
|
|
2663
|
+
export type ScalingPlanPersonalSchedulesListInput =
|
|
2664
|
+
typeof ScalingPlanPersonalSchedulesListInput.Type;
|
|
2665
|
+
|
|
2666
|
+
// Output Schema
|
|
2667
|
+
export const ScalingPlanPersonalSchedulesListOutput =
|
|
2668
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2669
|
+
value: Schema.optional(Schema.Array(Schema.Struct({}))),
|
|
2670
|
+
nextLink: Schema.optional(Schema.String),
|
|
2671
|
+
});
|
|
2672
|
+
export type ScalingPlanPersonalSchedulesListOutput =
|
|
2673
|
+
typeof ScalingPlanPersonalSchedulesListOutput.Type;
|
|
2674
|
+
|
|
2675
|
+
// The operation
|
|
2676
|
+
/**
|
|
2677
|
+
* List ScalingPlanPersonalSchedules.
|
|
2678
|
+
*
|
|
2679
|
+
* @param api-version - The API version to use for this operation.
|
|
2680
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2681
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2682
|
+
* @param pageSize - Number of items per page.
|
|
2683
|
+
* @param isDescending - Indicates whether the collection is descending.
|
|
2684
|
+
* @param initialSkip - Initial number of items to skip.
|
|
2685
|
+
*/
|
|
2686
|
+
export const ScalingPlanPersonalSchedulesList =
|
|
2687
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2688
|
+
inputSchema: ScalingPlanPersonalSchedulesListInput,
|
|
2689
|
+
outputSchema: ScalingPlanPersonalSchedulesListOutput,
|
|
2690
|
+
}));
|
|
2691
|
+
// Input Schema
|
|
2692
|
+
export const ScalingPlanPersonalSchedulesUpdateInput =
|
|
2693
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2694
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2695
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2696
|
+
"api-version": Schema.String,
|
|
2697
|
+
}).pipe(
|
|
2698
|
+
T.Http({
|
|
2699
|
+
method: "PATCH",
|
|
2700
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/personalSchedules/{scalingPlanScheduleName}",
|
|
2701
|
+
}),
|
|
2702
|
+
);
|
|
2703
|
+
export type ScalingPlanPersonalSchedulesUpdateInput =
|
|
2704
|
+
typeof ScalingPlanPersonalSchedulesUpdateInput.Type;
|
|
2705
|
+
|
|
2706
|
+
// Output Schema
|
|
2707
|
+
export const ScalingPlanPersonalSchedulesUpdateOutput =
|
|
2708
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
2709
|
+
export type ScalingPlanPersonalSchedulesUpdateOutput =
|
|
2710
|
+
typeof ScalingPlanPersonalSchedulesUpdateOutput.Type;
|
|
2711
|
+
|
|
2712
|
+
// The operation
|
|
2713
|
+
/**
|
|
2714
|
+
* Update a ScalingPlanPersonalSchedule.
|
|
2715
|
+
*
|
|
2716
|
+
* @param api-version - The API version to use for this operation.
|
|
2717
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2718
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2719
|
+
*/
|
|
2720
|
+
export const ScalingPlanPersonalSchedulesUpdate =
|
|
2721
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2722
|
+
inputSchema: ScalingPlanPersonalSchedulesUpdateInput,
|
|
2723
|
+
outputSchema: ScalingPlanPersonalSchedulesUpdateOutput,
|
|
2724
|
+
}));
|
|
2725
|
+
// Input Schema
|
|
2726
|
+
export const ScalingPlanPooledSchedulesCreateInput =
|
|
2727
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2728
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2729
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2730
|
+
"api-version": Schema.String,
|
|
2731
|
+
}).pipe(
|
|
2732
|
+
T.Http({
|
|
2733
|
+
method: "PUT",
|
|
2734
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}",
|
|
2735
|
+
}),
|
|
2736
|
+
);
|
|
2737
|
+
export type ScalingPlanPooledSchedulesCreateInput =
|
|
2738
|
+
typeof ScalingPlanPooledSchedulesCreateInput.Type;
|
|
2739
|
+
|
|
2740
|
+
// Output Schema
|
|
2741
|
+
export const ScalingPlanPooledSchedulesCreateOutput =
|
|
2742
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2743
|
+
id: Schema.optional(Schema.String),
|
|
2744
|
+
name: Schema.optional(Schema.String),
|
|
2745
|
+
type: Schema.optional(Schema.String),
|
|
2746
|
+
systemData: Schema.optional(
|
|
2747
|
+
Schema.Struct({
|
|
2748
|
+
createdBy: Schema.optional(Schema.String),
|
|
2749
|
+
createdByType: Schema.optional(
|
|
2750
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
2751
|
+
),
|
|
2752
|
+
createdAt: Schema.optional(Schema.String),
|
|
2753
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
2754
|
+
lastModifiedByType: Schema.optional(
|
|
2755
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
2756
|
+
),
|
|
2757
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
2758
|
+
}),
|
|
2759
|
+
),
|
|
2760
|
+
});
|
|
2761
|
+
export type ScalingPlanPooledSchedulesCreateOutput =
|
|
2762
|
+
typeof ScalingPlanPooledSchedulesCreateOutput.Type;
|
|
2763
|
+
|
|
2764
|
+
// The operation
|
|
2765
|
+
/**
|
|
2766
|
+
* Create or update a ScalingPlanPooledSchedule.
|
|
2767
|
+
*
|
|
2768
|
+
* @param api-version - The API version to use for this operation.
|
|
2769
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2770
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2771
|
+
*/
|
|
2772
|
+
export const ScalingPlanPooledSchedulesCreate =
|
|
2773
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2774
|
+
inputSchema: ScalingPlanPooledSchedulesCreateInput,
|
|
2775
|
+
outputSchema: ScalingPlanPooledSchedulesCreateOutput,
|
|
2776
|
+
}));
|
|
2777
|
+
// Input Schema
|
|
2778
|
+
export const ScalingPlanPooledSchedulesDeleteInput =
|
|
2779
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2780
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2781
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2782
|
+
"api-version": Schema.String,
|
|
2783
|
+
}).pipe(
|
|
2784
|
+
T.Http({
|
|
2785
|
+
method: "DELETE",
|
|
2786
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}",
|
|
2787
|
+
}),
|
|
2788
|
+
);
|
|
2789
|
+
export type ScalingPlanPooledSchedulesDeleteInput =
|
|
2790
|
+
typeof ScalingPlanPooledSchedulesDeleteInput.Type;
|
|
2791
|
+
|
|
2792
|
+
// Output Schema
|
|
2793
|
+
export const ScalingPlanPooledSchedulesDeleteOutput =
|
|
2794
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
2795
|
+
export type ScalingPlanPooledSchedulesDeleteOutput =
|
|
2796
|
+
typeof ScalingPlanPooledSchedulesDeleteOutput.Type;
|
|
2797
|
+
|
|
2798
|
+
// The operation
|
|
2799
|
+
/**
|
|
2800
|
+
* Remove a ScalingPlanPooledSchedule.
|
|
2801
|
+
*
|
|
2802
|
+
* @param api-version - The API version to use for this operation.
|
|
2803
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2804
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2805
|
+
*/
|
|
2806
|
+
export const ScalingPlanPooledSchedulesDelete =
|
|
2807
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2808
|
+
inputSchema: ScalingPlanPooledSchedulesDeleteInput,
|
|
2809
|
+
outputSchema: ScalingPlanPooledSchedulesDeleteOutput,
|
|
2810
|
+
}));
|
|
2811
|
+
// Input Schema
|
|
2812
|
+
export const ScalingPlanPooledSchedulesGetInput =
|
|
2813
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2814
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2815
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2816
|
+
"api-version": Schema.String,
|
|
2817
|
+
}).pipe(
|
|
2818
|
+
T.Http({
|
|
2819
|
+
method: "GET",
|
|
2820
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}",
|
|
2821
|
+
}),
|
|
2822
|
+
);
|
|
2823
|
+
export type ScalingPlanPooledSchedulesGetInput =
|
|
2824
|
+
typeof ScalingPlanPooledSchedulesGetInput.Type;
|
|
2825
|
+
|
|
2826
|
+
// Output Schema
|
|
2827
|
+
export const ScalingPlanPooledSchedulesGetOutput =
|
|
2828
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2829
|
+
id: Schema.optional(Schema.String),
|
|
2830
|
+
name: Schema.optional(Schema.String),
|
|
2831
|
+
type: Schema.optional(Schema.String),
|
|
2832
|
+
systemData: Schema.optional(
|
|
2833
|
+
Schema.Struct({
|
|
2834
|
+
createdBy: Schema.optional(Schema.String),
|
|
2835
|
+
createdByType: Schema.optional(
|
|
2836
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
2837
|
+
),
|
|
2838
|
+
createdAt: Schema.optional(Schema.String),
|
|
2839
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
2840
|
+
lastModifiedByType: Schema.optional(
|
|
2841
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
2842
|
+
),
|
|
2843
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
2844
|
+
}),
|
|
2845
|
+
),
|
|
2846
|
+
});
|
|
2847
|
+
export type ScalingPlanPooledSchedulesGetOutput =
|
|
2848
|
+
typeof ScalingPlanPooledSchedulesGetOutput.Type;
|
|
2849
|
+
|
|
2850
|
+
// The operation
|
|
2851
|
+
/**
|
|
2852
|
+
* Get a ScalingPlanPooledSchedule.
|
|
2853
|
+
*
|
|
2854
|
+
* @param api-version - The API version to use for this operation.
|
|
2855
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2856
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2857
|
+
*/
|
|
2858
|
+
export const ScalingPlanPooledSchedulesGet =
|
|
2859
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2860
|
+
inputSchema: ScalingPlanPooledSchedulesGetInput,
|
|
2861
|
+
outputSchema: ScalingPlanPooledSchedulesGetOutput,
|
|
2862
|
+
}));
|
|
2863
|
+
// Input Schema
|
|
2864
|
+
export const ScalingPlanPooledSchedulesListInput =
|
|
2865
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2866
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2867
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2868
|
+
"api-version": Schema.String,
|
|
2869
|
+
pageSize: Schema.optional(Schema.Number),
|
|
2870
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
2871
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
2872
|
+
}).pipe(
|
|
2873
|
+
T.Http({
|
|
2874
|
+
method: "GET",
|
|
2875
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules",
|
|
2876
|
+
}),
|
|
2877
|
+
);
|
|
2878
|
+
export type ScalingPlanPooledSchedulesListInput =
|
|
2879
|
+
typeof ScalingPlanPooledSchedulesListInput.Type;
|
|
2880
|
+
|
|
2881
|
+
// Output Schema
|
|
2882
|
+
export const ScalingPlanPooledSchedulesListOutput =
|
|
2883
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2884
|
+
value: Schema.optional(
|
|
2885
|
+
Schema.Array(
|
|
2886
|
+
Schema.Struct({
|
|
2887
|
+
id: Schema.optional(Schema.String),
|
|
2888
|
+
name: Schema.optional(Schema.String),
|
|
2889
|
+
type: Schema.optional(Schema.String),
|
|
2890
|
+
systemData: Schema.optional(
|
|
2891
|
+
Schema.Struct({
|
|
2892
|
+
createdBy: Schema.optional(Schema.String),
|
|
2893
|
+
createdByType: Schema.optional(
|
|
2894
|
+
Schema.Literals([
|
|
2895
|
+
"User",
|
|
2896
|
+
"Application",
|
|
2897
|
+
"ManagedIdentity",
|
|
2898
|
+
"Key",
|
|
2899
|
+
]),
|
|
2900
|
+
),
|
|
2901
|
+
createdAt: Schema.optional(Schema.String),
|
|
2902
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
2903
|
+
lastModifiedByType: Schema.optional(
|
|
2904
|
+
Schema.Literals([
|
|
2905
|
+
"User",
|
|
2906
|
+
"Application",
|
|
2907
|
+
"ManagedIdentity",
|
|
2908
|
+
"Key",
|
|
2909
|
+
]),
|
|
2910
|
+
),
|
|
2911
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
2912
|
+
}),
|
|
2913
|
+
),
|
|
2914
|
+
}),
|
|
2915
|
+
),
|
|
2916
|
+
),
|
|
2917
|
+
nextLink: Schema.optional(Schema.String),
|
|
2918
|
+
});
|
|
2919
|
+
export type ScalingPlanPooledSchedulesListOutput =
|
|
2920
|
+
typeof ScalingPlanPooledSchedulesListOutput.Type;
|
|
2921
|
+
|
|
2922
|
+
// The operation
|
|
2923
|
+
/**
|
|
2924
|
+
* List ScalingPlanPooledSchedules.
|
|
2925
|
+
*
|
|
2926
|
+
* @param api-version - The API version to use for this operation.
|
|
2927
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2928
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2929
|
+
* @param pageSize - Number of items per page.
|
|
2930
|
+
* @param isDescending - Indicates whether the collection is descending.
|
|
2931
|
+
* @param initialSkip - Initial number of items to skip.
|
|
2932
|
+
*/
|
|
2933
|
+
export const ScalingPlanPooledSchedulesList =
|
|
2934
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2935
|
+
inputSchema: ScalingPlanPooledSchedulesListInput,
|
|
2936
|
+
outputSchema: ScalingPlanPooledSchedulesListOutput,
|
|
2937
|
+
}));
|
|
2938
|
+
// Input Schema
|
|
2939
|
+
export const ScalingPlanPooledSchedulesUpdateInput =
|
|
2940
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2941
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2942
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2943
|
+
"api-version": Schema.String,
|
|
2944
|
+
}).pipe(
|
|
2945
|
+
T.Http({
|
|
2946
|
+
method: "PATCH",
|
|
2947
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}/pooledSchedules/{scalingPlanScheduleName}",
|
|
2948
|
+
}),
|
|
2949
|
+
);
|
|
2950
|
+
export type ScalingPlanPooledSchedulesUpdateInput =
|
|
2951
|
+
typeof ScalingPlanPooledSchedulesUpdateInput.Type;
|
|
2952
|
+
|
|
2953
|
+
// Output Schema
|
|
2954
|
+
export const ScalingPlanPooledSchedulesUpdateOutput =
|
|
2955
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2956
|
+
id: Schema.optional(Schema.String),
|
|
2957
|
+
name: Schema.optional(Schema.String),
|
|
2958
|
+
type: Schema.optional(Schema.String),
|
|
2959
|
+
systemData: Schema.optional(
|
|
2960
|
+
Schema.Struct({
|
|
2961
|
+
createdBy: Schema.optional(Schema.String),
|
|
2962
|
+
createdByType: Schema.optional(
|
|
2963
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
2964
|
+
),
|
|
2965
|
+
createdAt: Schema.optional(Schema.String),
|
|
2966
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
2967
|
+
lastModifiedByType: Schema.optional(
|
|
2968
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
2969
|
+
),
|
|
2970
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
2971
|
+
}),
|
|
2972
|
+
),
|
|
2973
|
+
});
|
|
2974
|
+
export type ScalingPlanPooledSchedulesUpdateOutput =
|
|
2975
|
+
typeof ScalingPlanPooledSchedulesUpdateOutput.Type;
|
|
2976
|
+
|
|
2977
|
+
// The operation
|
|
2978
|
+
/**
|
|
2979
|
+
* Update a ScalingPlanPooledSchedule.
|
|
2980
|
+
*
|
|
2981
|
+
* @param api-version - The API version to use for this operation.
|
|
2982
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
2983
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2984
|
+
*/
|
|
2985
|
+
export const ScalingPlanPooledSchedulesUpdate =
|
|
2986
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2987
|
+
inputSchema: ScalingPlanPooledSchedulesUpdateInput,
|
|
2988
|
+
outputSchema: ScalingPlanPooledSchedulesUpdateOutput,
|
|
2989
|
+
}));
|
|
2990
|
+
// Input Schema
|
|
2991
|
+
export const ScalingPlansCreateInput =
|
|
2992
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2993
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2994
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2995
|
+
"api-version": Schema.String,
|
|
2996
|
+
}).pipe(
|
|
2997
|
+
T.Http({
|
|
2998
|
+
method: "PUT",
|
|
2999
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}",
|
|
3000
|
+
}),
|
|
3001
|
+
);
|
|
3002
|
+
export type ScalingPlansCreateInput = typeof ScalingPlansCreateInput.Type;
|
|
3003
|
+
|
|
3004
|
+
// Output Schema
|
|
3005
|
+
export const ScalingPlansCreateOutput =
|
|
3006
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3007
|
+
managedBy: Schema.optional(Schema.String),
|
|
3008
|
+
kind: Schema.optional(Schema.String),
|
|
3009
|
+
etag: Schema.optional(Schema.String),
|
|
3010
|
+
identity: Schema.optional(
|
|
3011
|
+
Schema.Struct({
|
|
3012
|
+
principalId: Schema.optional(Schema.String),
|
|
3013
|
+
tenantId: Schema.optional(Schema.String),
|
|
3014
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
3015
|
+
}),
|
|
3016
|
+
),
|
|
3017
|
+
sku: Schema.optional(
|
|
3018
|
+
Schema.Struct({
|
|
3019
|
+
name: Schema.String,
|
|
3020
|
+
tier: Schema.optional(
|
|
3021
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
3022
|
+
),
|
|
3023
|
+
size: Schema.optional(Schema.String),
|
|
3024
|
+
family: Schema.optional(Schema.String),
|
|
3025
|
+
capacity: Schema.optional(Schema.Number),
|
|
3026
|
+
}),
|
|
3027
|
+
),
|
|
3028
|
+
plan: Schema.optional(
|
|
3029
|
+
Schema.Struct({
|
|
3030
|
+
name: Schema.String,
|
|
3031
|
+
publisher: Schema.String,
|
|
3032
|
+
product: Schema.String,
|
|
3033
|
+
promotionCode: Schema.optional(Schema.String),
|
|
3034
|
+
version: Schema.optional(Schema.String),
|
|
3035
|
+
}),
|
|
3036
|
+
),
|
|
3037
|
+
});
|
|
3038
|
+
export type ScalingPlansCreateOutput = typeof ScalingPlansCreateOutput.Type;
|
|
3039
|
+
|
|
3040
|
+
// The operation
|
|
3041
|
+
/**
|
|
3042
|
+
* Create or update a scaling plan.
|
|
3043
|
+
*
|
|
3044
|
+
* @param api-version - The API version to use for this operation.
|
|
3045
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
3046
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3047
|
+
*/
|
|
3048
|
+
export const ScalingPlansCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3049
|
+
inputSchema: ScalingPlansCreateInput,
|
|
3050
|
+
outputSchema: ScalingPlansCreateOutput,
|
|
3051
|
+
}));
|
|
3052
|
+
// Input Schema
|
|
3053
|
+
export const ScalingPlansDeleteInput =
|
|
3054
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3055
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3056
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3057
|
+
"api-version": Schema.String,
|
|
3058
|
+
}).pipe(
|
|
3059
|
+
T.Http({
|
|
3060
|
+
method: "DELETE",
|
|
3061
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}",
|
|
3062
|
+
}),
|
|
3063
|
+
);
|
|
3064
|
+
export type ScalingPlansDeleteInput = typeof ScalingPlansDeleteInput.Type;
|
|
3065
|
+
|
|
3066
|
+
// Output Schema
|
|
3067
|
+
export const ScalingPlansDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
3068
|
+
export type ScalingPlansDeleteOutput = typeof ScalingPlansDeleteOutput.Type;
|
|
3069
|
+
|
|
3070
|
+
// The operation
|
|
3071
|
+
/**
|
|
3072
|
+
* Remove a scaling plan.
|
|
3073
|
+
*
|
|
3074
|
+
* @param api-version - The API version to use for this operation.
|
|
3075
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
3076
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3077
|
+
*/
|
|
3078
|
+
export const ScalingPlansDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3079
|
+
inputSchema: ScalingPlansDeleteInput,
|
|
3080
|
+
outputSchema: ScalingPlansDeleteOutput,
|
|
3081
|
+
}));
|
|
3082
|
+
// Input Schema
|
|
3083
|
+
export const ScalingPlansGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3084
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3085
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3086
|
+
"api-version": Schema.String,
|
|
3087
|
+
}).pipe(
|
|
3088
|
+
T.Http({
|
|
3089
|
+
method: "GET",
|
|
3090
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}",
|
|
3091
|
+
}),
|
|
3092
|
+
);
|
|
3093
|
+
export type ScalingPlansGetInput = typeof ScalingPlansGetInput.Type;
|
|
3094
|
+
|
|
3095
|
+
// Output Schema
|
|
3096
|
+
export const ScalingPlansGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3097
|
+
managedBy: Schema.optional(Schema.String),
|
|
3098
|
+
kind: Schema.optional(Schema.String),
|
|
3099
|
+
etag: Schema.optional(Schema.String),
|
|
3100
|
+
identity: Schema.optional(
|
|
3101
|
+
Schema.Struct({
|
|
3102
|
+
principalId: Schema.optional(Schema.String),
|
|
3103
|
+
tenantId: Schema.optional(Schema.String),
|
|
3104
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
3105
|
+
}),
|
|
3106
|
+
),
|
|
3107
|
+
sku: Schema.optional(
|
|
3108
|
+
Schema.Struct({
|
|
3109
|
+
name: Schema.String,
|
|
3110
|
+
tier: Schema.optional(
|
|
3111
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
3112
|
+
),
|
|
3113
|
+
size: Schema.optional(Schema.String),
|
|
3114
|
+
family: Schema.optional(Schema.String),
|
|
3115
|
+
capacity: Schema.optional(Schema.Number),
|
|
3116
|
+
}),
|
|
3117
|
+
),
|
|
3118
|
+
plan: Schema.optional(
|
|
3119
|
+
Schema.Struct({
|
|
3120
|
+
name: Schema.String,
|
|
3121
|
+
publisher: Schema.String,
|
|
3122
|
+
product: Schema.String,
|
|
3123
|
+
promotionCode: Schema.optional(Schema.String),
|
|
3124
|
+
version: Schema.optional(Schema.String),
|
|
3125
|
+
}),
|
|
3126
|
+
),
|
|
3127
|
+
});
|
|
3128
|
+
export type ScalingPlansGetOutput = typeof ScalingPlansGetOutput.Type;
|
|
3129
|
+
|
|
3130
|
+
// The operation
|
|
3131
|
+
/**
|
|
3132
|
+
* Get a scaling plan.
|
|
3133
|
+
*
|
|
3134
|
+
* @param api-version - The API version to use for this operation.
|
|
3135
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
3136
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3137
|
+
*/
|
|
3138
|
+
export const ScalingPlansGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3139
|
+
inputSchema: ScalingPlansGetInput,
|
|
3140
|
+
outputSchema: ScalingPlansGetOutput,
|
|
3141
|
+
}));
|
|
3142
|
+
// Input Schema
|
|
3143
|
+
export const ScalingPlansListByHostPoolInput =
|
|
3144
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3145
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3146
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3147
|
+
"api-version": Schema.String,
|
|
3148
|
+
pageSize: Schema.optional(Schema.Number),
|
|
3149
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
3150
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
3151
|
+
}).pipe(
|
|
3152
|
+
T.Http({
|
|
3153
|
+
method: "GET",
|
|
3154
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/scalingPlans",
|
|
3155
|
+
}),
|
|
3156
|
+
);
|
|
3157
|
+
export type ScalingPlansListByHostPoolInput =
|
|
3158
|
+
typeof ScalingPlansListByHostPoolInput.Type;
|
|
3159
|
+
|
|
3160
|
+
// Output Schema
|
|
3161
|
+
export const ScalingPlansListByHostPoolOutput =
|
|
3162
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3163
|
+
value: Schema.optional(
|
|
3164
|
+
Schema.Array(
|
|
3165
|
+
Schema.Struct({
|
|
3166
|
+
managedBy: Schema.optional(Schema.String),
|
|
3167
|
+
kind: Schema.optional(Schema.String),
|
|
3168
|
+
etag: Schema.optional(Schema.String),
|
|
3169
|
+
identity: Schema.optional(
|
|
3170
|
+
Schema.Struct({
|
|
3171
|
+
principalId: Schema.optional(Schema.String),
|
|
3172
|
+
tenantId: Schema.optional(Schema.String),
|
|
3173
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
3174
|
+
}),
|
|
3175
|
+
),
|
|
3176
|
+
sku: Schema.optional(
|
|
3177
|
+
Schema.Struct({
|
|
3178
|
+
name: Schema.String,
|
|
3179
|
+
tier: Schema.optional(
|
|
3180
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
3181
|
+
),
|
|
3182
|
+
size: Schema.optional(Schema.String),
|
|
3183
|
+
family: Schema.optional(Schema.String),
|
|
3184
|
+
capacity: Schema.optional(Schema.Number),
|
|
3185
|
+
}),
|
|
3186
|
+
),
|
|
3187
|
+
plan: Schema.optional(
|
|
3188
|
+
Schema.Struct({
|
|
3189
|
+
name: Schema.String,
|
|
3190
|
+
publisher: Schema.String,
|
|
3191
|
+
product: Schema.String,
|
|
3192
|
+
promotionCode: Schema.optional(Schema.String),
|
|
3193
|
+
version: Schema.optional(Schema.String),
|
|
3194
|
+
}),
|
|
3195
|
+
),
|
|
3196
|
+
}),
|
|
3197
|
+
),
|
|
3198
|
+
),
|
|
3199
|
+
nextLink: Schema.optional(Schema.String),
|
|
3200
|
+
});
|
|
3201
|
+
export type ScalingPlansListByHostPoolOutput =
|
|
3202
|
+
typeof ScalingPlansListByHostPoolOutput.Type;
|
|
3203
|
+
|
|
3204
|
+
// The operation
|
|
3205
|
+
/**
|
|
3206
|
+
* List scaling plan associated with hostpool.
|
|
3207
|
+
*
|
|
3208
|
+
* @param api-version - The API version to use for this operation.
|
|
3209
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
3210
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3211
|
+
* @param pageSize - Number of items per page.
|
|
3212
|
+
* @param isDescending - Indicates whether the collection is descending.
|
|
3213
|
+
* @param initialSkip - Initial number of items to skip.
|
|
3214
|
+
*/
|
|
3215
|
+
export const ScalingPlansListByHostPool = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
3216
|
+
() => ({
|
|
3217
|
+
inputSchema: ScalingPlansListByHostPoolInput,
|
|
3218
|
+
outputSchema: ScalingPlansListByHostPoolOutput,
|
|
3219
|
+
}),
|
|
3220
|
+
);
|
|
3221
|
+
// Input Schema
|
|
3222
|
+
export const ScalingPlansListByResourceGroupInput =
|
|
3223
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3224
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3225
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3226
|
+
"api-version": Schema.String,
|
|
3227
|
+
pageSize: Schema.optional(Schema.Number),
|
|
3228
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
3229
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
3230
|
+
}).pipe(
|
|
3231
|
+
T.Http({
|
|
3232
|
+
method: "GET",
|
|
3233
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans",
|
|
3234
|
+
}),
|
|
3235
|
+
);
|
|
3236
|
+
export type ScalingPlansListByResourceGroupInput =
|
|
3237
|
+
typeof ScalingPlansListByResourceGroupInput.Type;
|
|
3238
|
+
|
|
3239
|
+
// Output Schema
|
|
3240
|
+
export const ScalingPlansListByResourceGroupOutput =
|
|
3241
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3242
|
+
value: Schema.optional(
|
|
3243
|
+
Schema.Array(
|
|
3244
|
+
Schema.Struct({
|
|
3245
|
+
managedBy: Schema.optional(Schema.String),
|
|
3246
|
+
kind: Schema.optional(Schema.String),
|
|
3247
|
+
etag: Schema.optional(Schema.String),
|
|
3248
|
+
identity: Schema.optional(
|
|
3249
|
+
Schema.Struct({
|
|
3250
|
+
principalId: Schema.optional(Schema.String),
|
|
3251
|
+
tenantId: Schema.optional(Schema.String),
|
|
3252
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
3253
|
+
}),
|
|
3254
|
+
),
|
|
3255
|
+
sku: Schema.optional(
|
|
3256
|
+
Schema.Struct({
|
|
3257
|
+
name: Schema.String,
|
|
3258
|
+
tier: Schema.optional(
|
|
3259
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
3260
|
+
),
|
|
3261
|
+
size: Schema.optional(Schema.String),
|
|
3262
|
+
family: Schema.optional(Schema.String),
|
|
3263
|
+
capacity: Schema.optional(Schema.Number),
|
|
3264
|
+
}),
|
|
3265
|
+
),
|
|
3266
|
+
plan: Schema.optional(
|
|
3267
|
+
Schema.Struct({
|
|
3268
|
+
name: Schema.String,
|
|
3269
|
+
publisher: Schema.String,
|
|
3270
|
+
product: Schema.String,
|
|
3271
|
+
promotionCode: Schema.optional(Schema.String),
|
|
3272
|
+
version: Schema.optional(Schema.String),
|
|
3273
|
+
}),
|
|
3274
|
+
),
|
|
3275
|
+
}),
|
|
3276
|
+
),
|
|
3277
|
+
),
|
|
3278
|
+
nextLink: Schema.optional(Schema.String),
|
|
3279
|
+
});
|
|
3280
|
+
export type ScalingPlansListByResourceGroupOutput =
|
|
3281
|
+
typeof ScalingPlansListByResourceGroupOutput.Type;
|
|
3282
|
+
|
|
3283
|
+
// The operation
|
|
3284
|
+
/**
|
|
3285
|
+
* List scaling plans.
|
|
3286
|
+
*
|
|
3287
|
+
* @param api-version - The API version to use for this operation.
|
|
3288
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
3289
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3290
|
+
* @param pageSize - Number of items per page.
|
|
3291
|
+
* @param isDescending - Indicates whether the collection is descending.
|
|
3292
|
+
* @param initialSkip - Initial number of items to skip.
|
|
3293
|
+
*/
|
|
3294
|
+
export const ScalingPlansListByResourceGroup =
|
|
3295
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3296
|
+
inputSchema: ScalingPlansListByResourceGroupInput,
|
|
3297
|
+
outputSchema: ScalingPlansListByResourceGroupOutput,
|
|
3298
|
+
}));
|
|
3299
|
+
// Input Schema
|
|
3300
|
+
export const ScalingPlansListBySubscriptionInput =
|
|
3301
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3302
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3303
|
+
"api-version": Schema.String,
|
|
3304
|
+
pageSize: Schema.optional(Schema.Number),
|
|
3305
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
3306
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
3307
|
+
}).pipe(
|
|
3308
|
+
T.Http({
|
|
3309
|
+
method: "GET",
|
|
3310
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/scalingPlans",
|
|
3311
|
+
}),
|
|
3312
|
+
);
|
|
3313
|
+
export type ScalingPlansListBySubscriptionInput =
|
|
3314
|
+
typeof ScalingPlansListBySubscriptionInput.Type;
|
|
3315
|
+
|
|
3316
|
+
// Output Schema
|
|
3317
|
+
export const ScalingPlansListBySubscriptionOutput =
|
|
3318
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3319
|
+
value: Schema.optional(
|
|
3320
|
+
Schema.Array(
|
|
3321
|
+
Schema.Struct({
|
|
3322
|
+
managedBy: Schema.optional(Schema.String),
|
|
3323
|
+
kind: Schema.optional(Schema.String),
|
|
3324
|
+
etag: Schema.optional(Schema.String),
|
|
3325
|
+
identity: Schema.optional(
|
|
3326
|
+
Schema.Struct({
|
|
3327
|
+
principalId: Schema.optional(Schema.String),
|
|
3328
|
+
tenantId: Schema.optional(Schema.String),
|
|
3329
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
3330
|
+
}),
|
|
3331
|
+
),
|
|
3332
|
+
sku: Schema.optional(
|
|
3333
|
+
Schema.Struct({
|
|
3334
|
+
name: Schema.String,
|
|
3335
|
+
tier: Schema.optional(
|
|
3336
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
3337
|
+
),
|
|
3338
|
+
size: Schema.optional(Schema.String),
|
|
3339
|
+
family: Schema.optional(Schema.String),
|
|
3340
|
+
capacity: Schema.optional(Schema.Number),
|
|
3341
|
+
}),
|
|
3342
|
+
),
|
|
3343
|
+
plan: Schema.optional(
|
|
3344
|
+
Schema.Struct({
|
|
3345
|
+
name: Schema.String,
|
|
3346
|
+
publisher: Schema.String,
|
|
3347
|
+
product: Schema.String,
|
|
3348
|
+
promotionCode: Schema.optional(Schema.String),
|
|
3349
|
+
version: Schema.optional(Schema.String),
|
|
3350
|
+
}),
|
|
3351
|
+
),
|
|
3352
|
+
}),
|
|
3353
|
+
),
|
|
3354
|
+
),
|
|
3355
|
+
nextLink: Schema.optional(Schema.String),
|
|
3356
|
+
});
|
|
3357
|
+
export type ScalingPlansListBySubscriptionOutput =
|
|
3358
|
+
typeof ScalingPlansListBySubscriptionOutput.Type;
|
|
3359
|
+
|
|
3360
|
+
// The operation
|
|
3361
|
+
/**
|
|
3362
|
+
* List scaling plans in subscription.
|
|
3363
|
+
*
|
|
3364
|
+
* @param api-version - The API version to use for this operation.
|
|
3365
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
3366
|
+
* @param pageSize - Number of items per page.
|
|
3367
|
+
* @param isDescending - Indicates whether the collection is descending.
|
|
3368
|
+
* @param initialSkip - Initial number of items to skip.
|
|
3369
|
+
*/
|
|
3370
|
+
export const ScalingPlansListBySubscription =
|
|
3371
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3372
|
+
inputSchema: ScalingPlansListBySubscriptionInput,
|
|
3373
|
+
outputSchema: ScalingPlansListBySubscriptionOutput,
|
|
3374
|
+
}));
|
|
3375
|
+
// Input Schema
|
|
3376
|
+
export const ScalingPlansUpdateInput =
|
|
3377
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3378
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3379
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3380
|
+
"api-version": Schema.String,
|
|
3381
|
+
}).pipe(
|
|
3382
|
+
T.Http({
|
|
3383
|
+
method: "PATCH",
|
|
3384
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/scalingPlans/{scalingPlanName}",
|
|
3385
|
+
}),
|
|
3386
|
+
);
|
|
3387
|
+
export type ScalingPlansUpdateInput = typeof ScalingPlansUpdateInput.Type;
|
|
3388
|
+
|
|
3389
|
+
// Output Schema
|
|
3390
|
+
export const ScalingPlansUpdateOutput =
|
|
3391
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3392
|
+
managedBy: Schema.optional(Schema.String),
|
|
3393
|
+
kind: Schema.optional(Schema.String),
|
|
3394
|
+
etag: Schema.optional(Schema.String),
|
|
3395
|
+
identity: Schema.optional(
|
|
3396
|
+
Schema.Struct({
|
|
3397
|
+
principalId: Schema.optional(Schema.String),
|
|
3398
|
+
tenantId: Schema.optional(Schema.String),
|
|
3399
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
3400
|
+
}),
|
|
3401
|
+
),
|
|
3402
|
+
sku: Schema.optional(
|
|
3403
|
+
Schema.Struct({
|
|
3404
|
+
name: Schema.String,
|
|
3405
|
+
tier: Schema.optional(
|
|
3406
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
3407
|
+
),
|
|
3408
|
+
size: Schema.optional(Schema.String),
|
|
3409
|
+
family: Schema.optional(Schema.String),
|
|
3410
|
+
capacity: Schema.optional(Schema.Number),
|
|
3411
|
+
}),
|
|
3412
|
+
),
|
|
3413
|
+
plan: Schema.optional(
|
|
3414
|
+
Schema.Struct({
|
|
3415
|
+
name: Schema.String,
|
|
3416
|
+
publisher: Schema.String,
|
|
3417
|
+
product: Schema.String,
|
|
3418
|
+
promotionCode: Schema.optional(Schema.String),
|
|
3419
|
+
version: Schema.optional(Schema.String),
|
|
3420
|
+
}),
|
|
3421
|
+
),
|
|
3422
|
+
});
|
|
3423
|
+
export type ScalingPlansUpdateOutput = typeof ScalingPlansUpdateOutput.Type;
|
|
3424
|
+
|
|
3425
|
+
// The operation
|
|
3426
|
+
/**
|
|
3427
|
+
* Update a scaling plan.
|
|
3428
|
+
*
|
|
3429
|
+
* @param api-version - The API version to use for this operation.
|
|
3430
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
3431
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3432
|
+
*/
|
|
3433
|
+
export const ScalingPlansUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3434
|
+
inputSchema: ScalingPlansUpdateInput,
|
|
3435
|
+
outputSchema: ScalingPlansUpdateOutput,
|
|
3436
|
+
}));
|
|
3437
|
+
// Input Schema
|
|
3438
|
+
export const SessionHostsDeleteInput =
|
|
3439
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3440
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
600
3441
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
601
|
-
privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
|
|
602
3442
|
"api-version": Schema.String,
|
|
3443
|
+
force: Schema.optional(Schema.Boolean),
|
|
603
3444
|
}).pipe(
|
|
604
3445
|
T.Http({
|
|
605
3446
|
method: "DELETE",
|
|
606
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/
|
|
3447
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}",
|
|
607
3448
|
}),
|
|
608
3449
|
);
|
|
609
|
-
export type
|
|
610
|
-
typeof PrivateEndpointConnectionsDeleteByWorkspaceInput.Type;
|
|
3450
|
+
export type SessionHostsDeleteInput = typeof SessionHostsDeleteInput.Type;
|
|
611
3451
|
|
|
612
3452
|
// Output Schema
|
|
613
|
-
export const
|
|
614
|
-
|
|
615
|
-
export type PrivateEndpointConnectionsDeleteByWorkspaceOutput =
|
|
616
|
-
typeof PrivateEndpointConnectionsDeleteByWorkspaceOutput.Type;
|
|
3453
|
+
export const SessionHostsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
3454
|
+
export type SessionHostsDeleteOutput = typeof SessionHostsDeleteOutput.Type;
|
|
617
3455
|
|
|
618
3456
|
// The operation
|
|
619
3457
|
/**
|
|
620
|
-
* Remove a
|
|
3458
|
+
* Remove a SessionHost.
|
|
621
3459
|
*
|
|
622
3460
|
* @param api-version - The API version to use for this operation.
|
|
623
3461
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
624
3462
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
625
|
-
* @param
|
|
3463
|
+
* @param force - Force flag to force sessionHost deletion even when userSession exists.
|
|
626
3464
|
*/
|
|
627
|
-
export const
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
}));
|
|
3465
|
+
export const SessionHostsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3466
|
+
inputSchema: SessionHostsDeleteInput,
|
|
3467
|
+
outputSchema: SessionHostsDeleteOutput,
|
|
3468
|
+
}));
|
|
632
3469
|
// Input Schema
|
|
633
|
-
export const
|
|
3470
|
+
export const SessionHostsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3471
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3472
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3473
|
+
"api-version": Schema.String,
|
|
3474
|
+
}).pipe(
|
|
3475
|
+
T.Http({
|
|
3476
|
+
method: "GET",
|
|
3477
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}",
|
|
3478
|
+
}),
|
|
3479
|
+
);
|
|
3480
|
+
export type SessionHostsGetInput = typeof SessionHostsGetInput.Type;
|
|
3481
|
+
|
|
3482
|
+
// Output Schema
|
|
3483
|
+
export const SessionHostsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3484
|
+
id: Schema.optional(Schema.String),
|
|
3485
|
+
name: Schema.optional(Schema.String),
|
|
3486
|
+
type: Schema.optional(Schema.String),
|
|
3487
|
+
systemData: Schema.optional(
|
|
3488
|
+
Schema.Struct({
|
|
3489
|
+
createdBy: Schema.optional(Schema.String),
|
|
3490
|
+
createdByType: Schema.optional(
|
|
3491
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
3492
|
+
),
|
|
3493
|
+
createdAt: Schema.optional(Schema.String),
|
|
3494
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
3495
|
+
lastModifiedByType: Schema.optional(
|
|
3496
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
3497
|
+
),
|
|
3498
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
3499
|
+
}),
|
|
3500
|
+
),
|
|
3501
|
+
});
|
|
3502
|
+
export type SessionHostsGetOutput = typeof SessionHostsGetOutput.Type;
|
|
3503
|
+
|
|
3504
|
+
// The operation
|
|
3505
|
+
/**
|
|
3506
|
+
* Get a session host.
|
|
3507
|
+
*
|
|
3508
|
+
* @param api-version - The API version to use for this operation.
|
|
3509
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
3510
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3511
|
+
*/
|
|
3512
|
+
export const SessionHostsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3513
|
+
inputSchema: SessionHostsGetInput,
|
|
3514
|
+
outputSchema: SessionHostsGetOutput,
|
|
3515
|
+
}));
|
|
3516
|
+
// Input Schema
|
|
3517
|
+
export const SessionHostsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3518
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3519
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3520
|
+
"api-version": Schema.String,
|
|
3521
|
+
pageSize: Schema.optional(Schema.Number),
|
|
3522
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
3523
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
3524
|
+
}).pipe(
|
|
3525
|
+
T.Http({
|
|
3526
|
+
method: "GET",
|
|
3527
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts",
|
|
3528
|
+
}),
|
|
3529
|
+
);
|
|
3530
|
+
export type SessionHostsListInput = typeof SessionHostsListInput.Type;
|
|
3531
|
+
|
|
3532
|
+
// Output Schema
|
|
3533
|
+
export const SessionHostsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
3534
|
+
{
|
|
3535
|
+
value: Schema.optional(
|
|
3536
|
+
Schema.Array(
|
|
3537
|
+
Schema.Struct({
|
|
3538
|
+
id: Schema.optional(Schema.String),
|
|
3539
|
+
name: Schema.optional(Schema.String),
|
|
3540
|
+
type: Schema.optional(Schema.String),
|
|
3541
|
+
systemData: Schema.optional(
|
|
3542
|
+
Schema.Struct({
|
|
3543
|
+
createdBy: Schema.optional(Schema.String),
|
|
3544
|
+
createdByType: Schema.optional(
|
|
3545
|
+
Schema.Literals([
|
|
3546
|
+
"User",
|
|
3547
|
+
"Application",
|
|
3548
|
+
"ManagedIdentity",
|
|
3549
|
+
"Key",
|
|
3550
|
+
]),
|
|
3551
|
+
),
|
|
3552
|
+
createdAt: Schema.optional(Schema.String),
|
|
3553
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
3554
|
+
lastModifiedByType: Schema.optional(
|
|
3555
|
+
Schema.Literals([
|
|
3556
|
+
"User",
|
|
3557
|
+
"Application",
|
|
3558
|
+
"ManagedIdentity",
|
|
3559
|
+
"Key",
|
|
3560
|
+
]),
|
|
3561
|
+
),
|
|
3562
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
3563
|
+
}),
|
|
3564
|
+
),
|
|
3565
|
+
}),
|
|
3566
|
+
),
|
|
3567
|
+
),
|
|
3568
|
+
nextLink: Schema.optional(Schema.String),
|
|
3569
|
+
},
|
|
3570
|
+
);
|
|
3571
|
+
export type SessionHostsListOutput = typeof SessionHostsListOutput.Type;
|
|
3572
|
+
|
|
3573
|
+
// The operation
|
|
3574
|
+
/**
|
|
3575
|
+
* List sessionHosts.
|
|
3576
|
+
*
|
|
3577
|
+
* @param api-version - The API version to use for this operation.
|
|
3578
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
3579
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3580
|
+
* @param pageSize - Number of items per page.
|
|
3581
|
+
* @param isDescending - Indicates whether the collection is descending.
|
|
3582
|
+
* @param initialSkip - Initial number of items to skip.
|
|
3583
|
+
*/
|
|
3584
|
+
export const SessionHostsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3585
|
+
inputSchema: SessionHostsListInput,
|
|
3586
|
+
outputSchema: SessionHostsListOutput,
|
|
3587
|
+
}));
|
|
3588
|
+
// Input Schema
|
|
3589
|
+
export const SessionHostsUpdateInput =
|
|
634
3590
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
635
3591
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
636
3592
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
637
3593
|
"api-version": Schema.String,
|
|
3594
|
+
force: Schema.optional(Schema.Boolean),
|
|
638
3595
|
}).pipe(
|
|
639
3596
|
T.Http({
|
|
640
|
-
method: "
|
|
641
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/
|
|
3597
|
+
method: "PATCH",
|
|
3598
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}",
|
|
642
3599
|
}),
|
|
643
3600
|
);
|
|
644
|
-
export type
|
|
645
|
-
typeof ScalingPlanPersonalSchedulesCreateInput.Type;
|
|
3601
|
+
export type SessionHostsUpdateInput = typeof SessionHostsUpdateInput.Type;
|
|
646
3602
|
|
|
647
3603
|
// Output Schema
|
|
648
|
-
export const
|
|
649
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
650
|
-
|
|
651
|
-
|
|
3604
|
+
export const SessionHostsUpdateOutput =
|
|
3605
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3606
|
+
id: Schema.optional(Schema.String),
|
|
3607
|
+
name: Schema.optional(Schema.String),
|
|
3608
|
+
type: Schema.optional(Schema.String),
|
|
3609
|
+
systemData: Schema.optional(
|
|
3610
|
+
Schema.Struct({
|
|
3611
|
+
createdBy: Schema.optional(Schema.String),
|
|
3612
|
+
createdByType: Schema.optional(
|
|
3613
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
3614
|
+
),
|
|
3615
|
+
createdAt: Schema.optional(Schema.String),
|
|
3616
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
3617
|
+
lastModifiedByType: Schema.optional(
|
|
3618
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
3619
|
+
),
|
|
3620
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
3621
|
+
}),
|
|
3622
|
+
),
|
|
3623
|
+
});
|
|
3624
|
+
export type SessionHostsUpdateOutput = typeof SessionHostsUpdateOutput.Type;
|
|
652
3625
|
|
|
653
3626
|
// The operation
|
|
654
3627
|
/**
|
|
655
|
-
*
|
|
3628
|
+
* Update a session host.
|
|
656
3629
|
*
|
|
657
3630
|
* @param api-version - The API version to use for this operation.
|
|
658
3631
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
659
3632
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3633
|
+
* @param force - Force flag to update assign, unassign or reassign personal desktop.
|
|
660
3634
|
*/
|
|
661
|
-
export const
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
}));
|
|
3635
|
+
export const SessionHostsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3636
|
+
inputSchema: SessionHostsUpdateInput,
|
|
3637
|
+
outputSchema: SessionHostsUpdateOutput,
|
|
3638
|
+
}));
|
|
666
3639
|
// Input Schema
|
|
667
|
-
export const
|
|
3640
|
+
export const StartMenuItemsListInput =
|
|
668
3641
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
669
3642
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
670
3643
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
671
3644
|
"api-version": Schema.String,
|
|
3645
|
+
pageSize: Schema.optional(Schema.Number),
|
|
3646
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
3647
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
672
3648
|
}).pipe(
|
|
673
3649
|
T.Http({
|
|
674
|
-
method: "
|
|
675
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/
|
|
3650
|
+
method: "GET",
|
|
3651
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/startMenuItems",
|
|
676
3652
|
}),
|
|
677
3653
|
);
|
|
678
|
-
export type
|
|
679
|
-
typeof ScalingPlanPersonalSchedulesDeleteInput.Type;
|
|
3654
|
+
export type StartMenuItemsListInput = typeof StartMenuItemsListInput.Type;
|
|
680
3655
|
|
|
681
3656
|
// Output Schema
|
|
682
|
-
export const
|
|
683
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
684
|
-
|
|
685
|
-
|
|
3657
|
+
export const StartMenuItemsListOutput =
|
|
3658
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3659
|
+
value: Schema.optional(
|
|
3660
|
+
Schema.Array(
|
|
3661
|
+
Schema.Struct({
|
|
3662
|
+
id: Schema.optional(Schema.String),
|
|
3663
|
+
name: Schema.optional(Schema.String),
|
|
3664
|
+
type: Schema.optional(Schema.String),
|
|
3665
|
+
systemData: Schema.optional(
|
|
3666
|
+
Schema.Struct({
|
|
3667
|
+
createdBy: Schema.optional(Schema.String),
|
|
3668
|
+
createdByType: Schema.optional(
|
|
3669
|
+
Schema.Literals([
|
|
3670
|
+
"User",
|
|
3671
|
+
"Application",
|
|
3672
|
+
"ManagedIdentity",
|
|
3673
|
+
"Key",
|
|
3674
|
+
]),
|
|
3675
|
+
),
|
|
3676
|
+
createdAt: Schema.optional(Schema.String),
|
|
3677
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
3678
|
+
lastModifiedByType: Schema.optional(
|
|
3679
|
+
Schema.Literals([
|
|
3680
|
+
"User",
|
|
3681
|
+
"Application",
|
|
3682
|
+
"ManagedIdentity",
|
|
3683
|
+
"Key",
|
|
3684
|
+
]),
|
|
3685
|
+
),
|
|
3686
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
3687
|
+
}),
|
|
3688
|
+
),
|
|
3689
|
+
}),
|
|
3690
|
+
),
|
|
3691
|
+
),
|
|
3692
|
+
nextLink: Schema.optional(Schema.String),
|
|
3693
|
+
});
|
|
3694
|
+
export type StartMenuItemsListOutput = typeof StartMenuItemsListOutput.Type;
|
|
686
3695
|
|
|
687
3696
|
// The operation
|
|
688
3697
|
/**
|
|
689
|
-
*
|
|
3698
|
+
* List start menu items in the given application group.
|
|
690
3699
|
*
|
|
691
3700
|
* @param api-version - The API version to use for this operation.
|
|
692
3701
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
693
3702
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3703
|
+
* @param pageSize - Number of items per page.
|
|
3704
|
+
* @param isDescending - Indicates whether the collection is descending.
|
|
3705
|
+
* @param initialSkip - Initial number of items to skip.
|
|
694
3706
|
*/
|
|
695
|
-
export const
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
}));
|
|
3707
|
+
export const StartMenuItemsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3708
|
+
inputSchema: StartMenuItemsListInput,
|
|
3709
|
+
outputSchema: StartMenuItemsListOutput,
|
|
3710
|
+
}));
|
|
700
3711
|
// Input Schema
|
|
701
|
-
export const
|
|
3712
|
+
export const UserSessionsDeleteInput =
|
|
702
3713
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
703
3714
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
704
3715
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
705
3716
|
"api-version": Schema.String,
|
|
3717
|
+
force: Schema.optional(Schema.Boolean),
|
|
706
3718
|
}).pipe(
|
|
707
3719
|
T.Http({
|
|
708
|
-
method: "
|
|
709
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/
|
|
3720
|
+
method: "DELETE",
|
|
3721
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}",
|
|
710
3722
|
}),
|
|
711
3723
|
);
|
|
712
|
-
export type
|
|
713
|
-
typeof ScalingPlanPersonalSchedulesGetInput.Type;
|
|
3724
|
+
export type UserSessionsDeleteInput = typeof UserSessionsDeleteInput.Type;
|
|
714
3725
|
|
|
715
3726
|
// Output Schema
|
|
716
|
-
export const
|
|
717
|
-
|
|
718
|
-
export type ScalingPlanPersonalSchedulesGetOutput =
|
|
719
|
-
typeof ScalingPlanPersonalSchedulesGetOutput.Type;
|
|
3727
|
+
export const UserSessionsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
3728
|
+
export type UserSessionsDeleteOutput = typeof UserSessionsDeleteOutput.Type;
|
|
720
3729
|
|
|
721
3730
|
// The operation
|
|
722
3731
|
/**
|
|
723
|
-
*
|
|
3732
|
+
* Remove a userSession.
|
|
724
3733
|
*
|
|
725
3734
|
* @param api-version - The API version to use for this operation.
|
|
726
3735
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
727
3736
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3737
|
+
* @param force - Force flag to login off userSession.
|
|
728
3738
|
*/
|
|
729
|
-
export const
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
}));
|
|
3739
|
+
export const UserSessionsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3740
|
+
inputSchema: UserSessionsDeleteInput,
|
|
3741
|
+
outputSchema: UserSessionsDeleteOutput,
|
|
3742
|
+
}));
|
|
734
3743
|
// Input Schema
|
|
735
|
-
export const
|
|
3744
|
+
export const UserSessionsDisconnectInput =
|
|
736
3745
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
737
3746
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
738
3747
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
739
3748
|
"api-version": Schema.String,
|
|
740
|
-
pageSize: Schema.optional(Schema.Number),
|
|
741
|
-
isDescending: Schema.optional(Schema.Boolean),
|
|
742
|
-
initialSkip: Schema.optional(Schema.Number),
|
|
743
3749
|
}).pipe(
|
|
744
3750
|
T.Http({
|
|
745
|
-
method: "
|
|
746
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/
|
|
3751
|
+
method: "POST",
|
|
3752
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/disconnect",
|
|
747
3753
|
}),
|
|
748
3754
|
);
|
|
749
|
-
export type
|
|
750
|
-
typeof
|
|
3755
|
+
export type UserSessionsDisconnectInput =
|
|
3756
|
+
typeof UserSessionsDisconnectInput.Type;
|
|
751
3757
|
|
|
752
3758
|
// Output Schema
|
|
753
|
-
export const
|
|
754
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
755
|
-
|
|
3759
|
+
export const UserSessionsDisconnectOutput =
|
|
3760
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
3761
|
+
export type UserSessionsDisconnectOutput =
|
|
3762
|
+
typeof UserSessionsDisconnectOutput.Type;
|
|
3763
|
+
|
|
3764
|
+
// The operation
|
|
3765
|
+
/**
|
|
3766
|
+
* Disconnect a userSession.
|
|
3767
|
+
*
|
|
3768
|
+
* @param api-version - The API version to use for this operation.
|
|
3769
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
3770
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3771
|
+
*/
|
|
3772
|
+
export const UserSessionsDisconnect = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
3773
|
+
() => ({
|
|
3774
|
+
inputSchema: UserSessionsDisconnectInput,
|
|
3775
|
+
outputSchema: UserSessionsDisconnectOutput,
|
|
3776
|
+
}),
|
|
3777
|
+
);
|
|
3778
|
+
// Input Schema
|
|
3779
|
+
export const UserSessionsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3780
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3781
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3782
|
+
"api-version": Schema.String,
|
|
3783
|
+
}).pipe(
|
|
3784
|
+
T.Http({
|
|
3785
|
+
method: "GET",
|
|
3786
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}",
|
|
3787
|
+
}),
|
|
3788
|
+
);
|
|
3789
|
+
export type UserSessionsGetInput = typeof UserSessionsGetInput.Type;
|
|
3790
|
+
|
|
3791
|
+
// Output Schema
|
|
3792
|
+
export const UserSessionsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3793
|
+
id: Schema.optional(Schema.String),
|
|
3794
|
+
name: Schema.optional(Schema.String),
|
|
3795
|
+
type: Schema.optional(Schema.String),
|
|
3796
|
+
systemData: Schema.optional(
|
|
3797
|
+
Schema.Struct({
|
|
3798
|
+
createdBy: Schema.optional(Schema.String),
|
|
3799
|
+
createdByType: Schema.optional(
|
|
3800
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
3801
|
+
),
|
|
3802
|
+
createdAt: Schema.optional(Schema.String),
|
|
3803
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
3804
|
+
lastModifiedByType: Schema.optional(
|
|
3805
|
+
Schema.Literals(["User", "Application", "ManagedIdentity", "Key"]),
|
|
3806
|
+
),
|
|
3807
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
3808
|
+
}),
|
|
3809
|
+
),
|
|
3810
|
+
});
|
|
3811
|
+
export type UserSessionsGetOutput = typeof UserSessionsGetOutput.Type;
|
|
3812
|
+
|
|
3813
|
+
// The operation
|
|
3814
|
+
/**
|
|
3815
|
+
* Get a userSession.
|
|
3816
|
+
*
|
|
3817
|
+
* @param api-version - The API version to use for this operation.
|
|
3818
|
+
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
3819
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3820
|
+
*/
|
|
3821
|
+
export const UserSessionsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3822
|
+
inputSchema: UserSessionsGetInput,
|
|
3823
|
+
outputSchema: UserSessionsGetOutput,
|
|
3824
|
+
}));
|
|
3825
|
+
// Input Schema
|
|
3826
|
+
export const UserSessionsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3827
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3828
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3829
|
+
"api-version": Schema.String,
|
|
3830
|
+
pageSize: Schema.optional(Schema.Number),
|
|
3831
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
3832
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
3833
|
+
}).pipe(
|
|
3834
|
+
T.Http({
|
|
3835
|
+
method: "GET",
|
|
3836
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions",
|
|
3837
|
+
}),
|
|
3838
|
+
);
|
|
3839
|
+
export type UserSessionsListInput = typeof UserSessionsListInput.Type;
|
|
3840
|
+
|
|
3841
|
+
// Output Schema
|
|
3842
|
+
export const UserSessionsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
3843
|
+
{
|
|
3844
|
+
value: Schema.optional(
|
|
3845
|
+
Schema.Array(
|
|
3846
|
+
Schema.Struct({
|
|
3847
|
+
id: Schema.optional(Schema.String),
|
|
3848
|
+
name: Schema.optional(Schema.String),
|
|
3849
|
+
type: Schema.optional(Schema.String),
|
|
3850
|
+
systemData: Schema.optional(
|
|
3851
|
+
Schema.Struct({
|
|
3852
|
+
createdBy: Schema.optional(Schema.String),
|
|
3853
|
+
createdByType: Schema.optional(
|
|
3854
|
+
Schema.Literals([
|
|
3855
|
+
"User",
|
|
3856
|
+
"Application",
|
|
3857
|
+
"ManagedIdentity",
|
|
3858
|
+
"Key",
|
|
3859
|
+
]),
|
|
3860
|
+
),
|
|
3861
|
+
createdAt: Schema.optional(Schema.String),
|
|
3862
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
3863
|
+
lastModifiedByType: Schema.optional(
|
|
3864
|
+
Schema.Literals([
|
|
3865
|
+
"User",
|
|
3866
|
+
"Application",
|
|
3867
|
+
"ManagedIdentity",
|
|
3868
|
+
"Key",
|
|
3869
|
+
]),
|
|
3870
|
+
),
|
|
3871
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
3872
|
+
}),
|
|
3873
|
+
),
|
|
3874
|
+
}),
|
|
3875
|
+
),
|
|
3876
|
+
),
|
|
756
3877
|
nextLink: Schema.optional(Schema.String),
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
|
|
3878
|
+
},
|
|
3879
|
+
);
|
|
3880
|
+
export type UserSessionsListOutput = typeof UserSessionsListOutput.Type;
|
|
760
3881
|
|
|
761
3882
|
// The operation
|
|
762
3883
|
/**
|
|
763
|
-
* List
|
|
3884
|
+
* List userSessions.
|
|
764
3885
|
*
|
|
765
3886
|
* @param api-version - The API version to use for this operation.
|
|
766
3887
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
@@ -769,269 +3890,485 @@ export type ScalingPlanPersonalSchedulesListOutput =
|
|
|
769
3890
|
* @param isDescending - Indicates whether the collection is descending.
|
|
770
3891
|
* @param initialSkip - Initial number of items to skip.
|
|
771
3892
|
*/
|
|
772
|
-
export const
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
}));
|
|
3893
|
+
export const UserSessionsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3894
|
+
inputSchema: UserSessionsListInput,
|
|
3895
|
+
outputSchema: UserSessionsListOutput,
|
|
3896
|
+
}));
|
|
777
3897
|
// Input Schema
|
|
778
|
-
export const
|
|
3898
|
+
export const UserSessionsListByHostPoolInput =
|
|
779
3899
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
780
3900
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
781
3901
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
782
3902
|
"api-version": Schema.String,
|
|
3903
|
+
$filter: Schema.optional(Schema.String),
|
|
3904
|
+
pageSize: Schema.optional(Schema.Number),
|
|
3905
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
3906
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
783
3907
|
}).pipe(
|
|
784
3908
|
T.Http({
|
|
785
|
-
method: "
|
|
786
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/
|
|
3909
|
+
method: "GET",
|
|
3910
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/userSessions",
|
|
787
3911
|
}),
|
|
788
3912
|
);
|
|
789
|
-
export type
|
|
790
|
-
typeof
|
|
3913
|
+
export type UserSessionsListByHostPoolInput =
|
|
3914
|
+
typeof UserSessionsListByHostPoolInput.Type;
|
|
791
3915
|
|
|
792
3916
|
// Output Schema
|
|
793
|
-
export const
|
|
794
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
795
|
-
|
|
796
|
-
|
|
3917
|
+
export const UserSessionsListByHostPoolOutput =
|
|
3918
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3919
|
+
value: Schema.optional(
|
|
3920
|
+
Schema.Array(
|
|
3921
|
+
Schema.Struct({
|
|
3922
|
+
id: Schema.optional(Schema.String),
|
|
3923
|
+
name: Schema.optional(Schema.String),
|
|
3924
|
+
type: Schema.optional(Schema.String),
|
|
3925
|
+
systemData: Schema.optional(
|
|
3926
|
+
Schema.Struct({
|
|
3927
|
+
createdBy: Schema.optional(Schema.String),
|
|
3928
|
+
createdByType: Schema.optional(
|
|
3929
|
+
Schema.Literals([
|
|
3930
|
+
"User",
|
|
3931
|
+
"Application",
|
|
3932
|
+
"ManagedIdentity",
|
|
3933
|
+
"Key",
|
|
3934
|
+
]),
|
|
3935
|
+
),
|
|
3936
|
+
createdAt: Schema.optional(Schema.String),
|
|
3937
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
3938
|
+
lastModifiedByType: Schema.optional(
|
|
3939
|
+
Schema.Literals([
|
|
3940
|
+
"User",
|
|
3941
|
+
"Application",
|
|
3942
|
+
"ManagedIdentity",
|
|
3943
|
+
"Key",
|
|
3944
|
+
]),
|
|
3945
|
+
),
|
|
3946
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
3947
|
+
}),
|
|
3948
|
+
),
|
|
3949
|
+
}),
|
|
3950
|
+
),
|
|
3951
|
+
),
|
|
3952
|
+
nextLink: Schema.optional(Schema.String),
|
|
3953
|
+
});
|
|
3954
|
+
export type UserSessionsListByHostPoolOutput =
|
|
3955
|
+
typeof UserSessionsListByHostPoolOutput.Type;
|
|
797
3956
|
|
|
798
3957
|
// The operation
|
|
799
3958
|
/**
|
|
800
|
-
*
|
|
3959
|
+
* List userSessions.
|
|
801
3960
|
*
|
|
802
3961
|
* @param api-version - The API version to use for this operation.
|
|
803
3962
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
804
3963
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3964
|
+
* @param $filter - OData filter expression. Valid properties for filtering are userprincipalname and sessionstate.
|
|
3965
|
+
* @param pageSize - Number of items per page.
|
|
3966
|
+
* @param isDescending - Indicates whether the collection is descending.
|
|
3967
|
+
* @param initialSkip - Initial number of items to skip.
|
|
805
3968
|
*/
|
|
806
|
-
export const
|
|
807
|
-
|
|
808
|
-
inputSchema:
|
|
809
|
-
outputSchema:
|
|
810
|
-
})
|
|
3969
|
+
export const UserSessionsListByHostPool = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
3970
|
+
() => ({
|
|
3971
|
+
inputSchema: UserSessionsListByHostPoolInput,
|
|
3972
|
+
outputSchema: UserSessionsListByHostPoolOutput,
|
|
3973
|
+
}),
|
|
3974
|
+
);
|
|
811
3975
|
// Input Schema
|
|
812
|
-
export const
|
|
3976
|
+
export const UserSessionsSendMessageInput =
|
|
813
3977
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
814
3978
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
815
3979
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
816
3980
|
"api-version": Schema.String,
|
|
817
3981
|
}).pipe(
|
|
818
3982
|
T.Http({
|
|
819
|
-
method: "
|
|
820
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/
|
|
3983
|
+
method: "POST",
|
|
3984
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/userSessions/{userSessionId}/sendMessage",
|
|
821
3985
|
}),
|
|
822
3986
|
);
|
|
823
|
-
export type
|
|
824
|
-
typeof
|
|
3987
|
+
export type UserSessionsSendMessageInput =
|
|
3988
|
+
typeof UserSessionsSendMessageInput.Type;
|
|
825
3989
|
|
|
826
3990
|
// Output Schema
|
|
827
|
-
export const
|
|
3991
|
+
export const UserSessionsSendMessageOutput =
|
|
828
3992
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
829
|
-
export type
|
|
830
|
-
typeof
|
|
3993
|
+
export type UserSessionsSendMessageOutput =
|
|
3994
|
+
typeof UserSessionsSendMessageOutput.Type;
|
|
831
3995
|
|
|
832
3996
|
// The operation
|
|
833
3997
|
/**
|
|
834
|
-
*
|
|
3998
|
+
* Send a message to a user.
|
|
835
3999
|
*
|
|
836
4000
|
* @param api-version - The API version to use for this operation.
|
|
837
4001
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
838
4002
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
839
4003
|
*/
|
|
840
|
-
export const
|
|
841
|
-
|
|
842
|
-
inputSchema:
|
|
843
|
-
outputSchema:
|
|
844
|
-
})
|
|
4004
|
+
export const UserSessionsSendMessage = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
4005
|
+
() => ({
|
|
4006
|
+
inputSchema: UserSessionsSendMessageInput,
|
|
4007
|
+
outputSchema: UserSessionsSendMessageOutput,
|
|
4008
|
+
}),
|
|
4009
|
+
);
|
|
845
4010
|
// Input Schema
|
|
846
|
-
export const
|
|
4011
|
+
export const WorkspacesCreateOrUpdateInput =
|
|
847
4012
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
848
4013
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
849
4014
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
850
4015
|
"api-version": Schema.String,
|
|
851
4016
|
}).pipe(
|
|
852
4017
|
T.Http({
|
|
853
|
-
method: "
|
|
854
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/
|
|
4018
|
+
method: "PUT",
|
|
4019
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}",
|
|
855
4020
|
}),
|
|
856
4021
|
);
|
|
857
|
-
export type
|
|
4022
|
+
export type WorkspacesCreateOrUpdateInput =
|
|
4023
|
+
typeof WorkspacesCreateOrUpdateInput.Type;
|
|
858
4024
|
|
|
859
4025
|
// Output Schema
|
|
860
|
-
export const
|
|
861
|
-
|
|
4026
|
+
export const WorkspacesCreateOrUpdateOutput =
|
|
4027
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4028
|
+
managedBy: Schema.optional(Schema.String),
|
|
4029
|
+
kind: Schema.optional(Schema.String),
|
|
4030
|
+
etag: Schema.optional(Schema.String),
|
|
4031
|
+
identity: Schema.optional(
|
|
4032
|
+
Schema.Struct({
|
|
4033
|
+
principalId: Schema.optional(Schema.String),
|
|
4034
|
+
tenantId: Schema.optional(Schema.String),
|
|
4035
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
4036
|
+
}),
|
|
4037
|
+
),
|
|
4038
|
+
sku: Schema.optional(
|
|
4039
|
+
Schema.Struct({
|
|
4040
|
+
name: Schema.String,
|
|
4041
|
+
tier: Schema.optional(
|
|
4042
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
4043
|
+
),
|
|
4044
|
+
size: Schema.optional(Schema.String),
|
|
4045
|
+
family: Schema.optional(Schema.String),
|
|
4046
|
+
capacity: Schema.optional(Schema.Number),
|
|
4047
|
+
}),
|
|
4048
|
+
),
|
|
4049
|
+
plan: Schema.optional(
|
|
4050
|
+
Schema.Struct({
|
|
4051
|
+
name: Schema.String,
|
|
4052
|
+
publisher: Schema.String,
|
|
4053
|
+
product: Schema.String,
|
|
4054
|
+
promotionCode: Schema.optional(Schema.String),
|
|
4055
|
+
version: Schema.optional(Schema.String),
|
|
4056
|
+
}),
|
|
4057
|
+
),
|
|
4058
|
+
});
|
|
4059
|
+
export type WorkspacesCreateOrUpdateOutput =
|
|
4060
|
+
typeof WorkspacesCreateOrUpdateOutput.Type;
|
|
862
4061
|
|
|
863
4062
|
// The operation
|
|
864
4063
|
/**
|
|
865
|
-
*
|
|
4064
|
+
* Create or update a workspace.
|
|
866
4065
|
*
|
|
867
4066
|
* @param api-version - The API version to use for this operation.
|
|
868
4067
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
869
4068
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
870
4069
|
*/
|
|
871
|
-
export const
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
4070
|
+
export const WorkspacesCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
4071
|
+
() => ({
|
|
4072
|
+
inputSchema: WorkspacesCreateOrUpdateInput,
|
|
4073
|
+
outputSchema: WorkspacesCreateOrUpdateOutput,
|
|
4074
|
+
}),
|
|
4075
|
+
);
|
|
875
4076
|
// Input Schema
|
|
876
|
-
export const
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
);
|
|
888
|
-
export type SessionHostsDeleteInput = typeof SessionHostsDeleteInput.Type;
|
|
4077
|
+
export const WorkspacesDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4078
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4079
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
4080
|
+
"api-version": Schema.String,
|
|
4081
|
+
}).pipe(
|
|
4082
|
+
T.Http({
|
|
4083
|
+
method: "DELETE",
|
|
4084
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}",
|
|
4085
|
+
}),
|
|
4086
|
+
);
|
|
4087
|
+
export type WorkspacesDeleteInput = typeof WorkspacesDeleteInput.Type;
|
|
889
4088
|
|
|
890
4089
|
// Output Schema
|
|
891
|
-
export const
|
|
892
|
-
export type
|
|
4090
|
+
export const WorkspacesDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
4091
|
+
export type WorkspacesDeleteOutput = typeof WorkspacesDeleteOutput.Type;
|
|
893
4092
|
|
|
894
4093
|
// The operation
|
|
895
4094
|
/**
|
|
896
|
-
* Remove a
|
|
4095
|
+
* Remove a workspace.
|
|
897
4096
|
*
|
|
898
4097
|
* @param api-version - The API version to use for this operation.
|
|
899
4098
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
900
4099
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
901
|
-
* @param force - Force flag to force sessionHost deletion even when userSession exists.
|
|
902
4100
|
*/
|
|
903
|
-
export const
|
|
904
|
-
inputSchema:
|
|
905
|
-
outputSchema:
|
|
4101
|
+
export const WorkspacesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4102
|
+
inputSchema: WorkspacesDeleteInput,
|
|
4103
|
+
outputSchema: WorkspacesDeleteOutput,
|
|
906
4104
|
}));
|
|
907
4105
|
// Input Schema
|
|
908
|
-
export const
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
);
|
|
920
|
-
export type UserSessionsDeleteInput = typeof UserSessionsDeleteInput.Type;
|
|
4106
|
+
export const WorkspacesGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4107
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4108
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
4109
|
+
"api-version": Schema.String,
|
|
4110
|
+
}).pipe(
|
|
4111
|
+
T.Http({
|
|
4112
|
+
method: "GET",
|
|
4113
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}",
|
|
4114
|
+
}),
|
|
4115
|
+
);
|
|
4116
|
+
export type WorkspacesGetInput = typeof WorkspacesGetInput.Type;
|
|
921
4117
|
|
|
922
4118
|
// Output Schema
|
|
923
|
-
export const
|
|
924
|
-
|
|
4119
|
+
export const WorkspacesGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4120
|
+
managedBy: Schema.optional(Schema.String),
|
|
4121
|
+
kind: Schema.optional(Schema.String),
|
|
4122
|
+
etag: Schema.optional(Schema.String),
|
|
4123
|
+
identity: Schema.optional(
|
|
4124
|
+
Schema.Struct({
|
|
4125
|
+
principalId: Schema.optional(Schema.String),
|
|
4126
|
+
tenantId: Schema.optional(Schema.String),
|
|
4127
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
4128
|
+
}),
|
|
4129
|
+
),
|
|
4130
|
+
sku: Schema.optional(
|
|
4131
|
+
Schema.Struct({
|
|
4132
|
+
name: Schema.String,
|
|
4133
|
+
tier: Schema.optional(
|
|
4134
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
4135
|
+
),
|
|
4136
|
+
size: Schema.optional(Schema.String),
|
|
4137
|
+
family: Schema.optional(Schema.String),
|
|
4138
|
+
capacity: Schema.optional(Schema.Number),
|
|
4139
|
+
}),
|
|
4140
|
+
),
|
|
4141
|
+
plan: Schema.optional(
|
|
4142
|
+
Schema.Struct({
|
|
4143
|
+
name: Schema.String,
|
|
4144
|
+
publisher: Schema.String,
|
|
4145
|
+
product: Schema.String,
|
|
4146
|
+
promotionCode: Schema.optional(Schema.String),
|
|
4147
|
+
version: Schema.optional(Schema.String),
|
|
4148
|
+
}),
|
|
4149
|
+
),
|
|
4150
|
+
});
|
|
4151
|
+
export type WorkspacesGetOutput = typeof WorkspacesGetOutput.Type;
|
|
925
4152
|
|
|
926
4153
|
// The operation
|
|
927
4154
|
/**
|
|
928
|
-
*
|
|
4155
|
+
* Get a workspace.
|
|
929
4156
|
*
|
|
930
4157
|
* @param api-version - The API version to use for this operation.
|
|
931
4158
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
932
4159
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
933
|
-
* @param force - Force flag to login off userSession.
|
|
934
4160
|
*/
|
|
935
|
-
export const
|
|
936
|
-
inputSchema:
|
|
937
|
-
outputSchema:
|
|
4161
|
+
export const WorkspacesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4162
|
+
inputSchema: WorkspacesGetInput,
|
|
4163
|
+
outputSchema: WorkspacesGetOutput,
|
|
938
4164
|
}));
|
|
939
4165
|
// Input Schema
|
|
940
|
-
export const
|
|
4166
|
+
export const WorkspacesListByResourceGroupInput =
|
|
941
4167
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
942
4168
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
943
4169
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
944
4170
|
"api-version": Schema.String,
|
|
4171
|
+
pageSize: Schema.optional(Schema.Number),
|
|
4172
|
+
isDescending: Schema.optional(Schema.Boolean),
|
|
4173
|
+
initialSkip: Schema.optional(Schema.Number),
|
|
945
4174
|
}).pipe(
|
|
946
4175
|
T.Http({
|
|
947
|
-
method: "
|
|
948
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/
|
|
4176
|
+
method: "GET",
|
|
4177
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces",
|
|
949
4178
|
}),
|
|
950
4179
|
);
|
|
951
|
-
export type
|
|
952
|
-
typeof
|
|
4180
|
+
export type WorkspacesListByResourceGroupInput =
|
|
4181
|
+
typeof WorkspacesListByResourceGroupInput.Type;
|
|
953
4182
|
|
|
954
4183
|
// Output Schema
|
|
955
|
-
export const
|
|
956
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
957
|
-
|
|
958
|
-
|
|
4184
|
+
export const WorkspacesListByResourceGroupOutput =
|
|
4185
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4186
|
+
value: Schema.optional(
|
|
4187
|
+
Schema.Array(
|
|
4188
|
+
Schema.Struct({
|
|
4189
|
+
managedBy: Schema.optional(Schema.String),
|
|
4190
|
+
kind: Schema.optional(Schema.String),
|
|
4191
|
+
etag: Schema.optional(Schema.String),
|
|
4192
|
+
identity: Schema.optional(
|
|
4193
|
+
Schema.Struct({
|
|
4194
|
+
principalId: Schema.optional(Schema.String),
|
|
4195
|
+
tenantId: Schema.optional(Schema.String),
|
|
4196
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
4197
|
+
}),
|
|
4198
|
+
),
|
|
4199
|
+
sku: Schema.optional(
|
|
4200
|
+
Schema.Struct({
|
|
4201
|
+
name: Schema.String,
|
|
4202
|
+
tier: Schema.optional(
|
|
4203
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
4204
|
+
),
|
|
4205
|
+
size: Schema.optional(Schema.String),
|
|
4206
|
+
family: Schema.optional(Schema.String),
|
|
4207
|
+
capacity: Schema.optional(Schema.Number),
|
|
4208
|
+
}),
|
|
4209
|
+
),
|
|
4210
|
+
plan: Schema.optional(
|
|
4211
|
+
Schema.Struct({
|
|
4212
|
+
name: Schema.String,
|
|
4213
|
+
publisher: Schema.String,
|
|
4214
|
+
product: Schema.String,
|
|
4215
|
+
promotionCode: Schema.optional(Schema.String),
|
|
4216
|
+
version: Schema.optional(Schema.String),
|
|
4217
|
+
}),
|
|
4218
|
+
),
|
|
4219
|
+
}),
|
|
4220
|
+
),
|
|
4221
|
+
),
|
|
4222
|
+
nextLink: Schema.optional(Schema.String),
|
|
4223
|
+
});
|
|
4224
|
+
export type WorkspacesListByResourceGroupOutput =
|
|
4225
|
+
typeof WorkspacesListByResourceGroupOutput.Type;
|
|
959
4226
|
|
|
960
4227
|
// The operation
|
|
961
4228
|
/**
|
|
962
|
-
*
|
|
4229
|
+
* List workspaces.
|
|
963
4230
|
*
|
|
964
4231
|
* @param api-version - The API version to use for this operation.
|
|
965
4232
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
966
4233
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
4234
|
+
* @param pageSize - Number of items per page.
|
|
4235
|
+
* @param isDescending - Indicates whether the collection is descending.
|
|
4236
|
+
* @param initialSkip - Initial number of items to skip.
|
|
967
4237
|
*/
|
|
968
|
-
export const
|
|
969
|
-
() => ({
|
|
970
|
-
inputSchema:
|
|
971
|
-
outputSchema:
|
|
972
|
-
})
|
|
973
|
-
);
|
|
4238
|
+
export const WorkspacesListByResourceGroup =
|
|
4239
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4240
|
+
inputSchema: WorkspacesListByResourceGroupInput,
|
|
4241
|
+
outputSchema: WorkspacesListByResourceGroupOutput,
|
|
4242
|
+
}));
|
|
974
4243
|
// Input Schema
|
|
975
|
-
export const
|
|
4244
|
+
export const WorkspacesListBySubscriptionInput =
|
|
976
4245
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
977
4246
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
978
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
979
4247
|
"api-version": Schema.String,
|
|
980
4248
|
}).pipe(
|
|
981
4249
|
T.Http({
|
|
982
|
-
method: "
|
|
983
|
-
path: "/subscriptions/{subscriptionId}/
|
|
4250
|
+
method: "GET",
|
|
4251
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/workspaces",
|
|
984
4252
|
}),
|
|
985
4253
|
);
|
|
986
|
-
export type
|
|
987
|
-
typeof
|
|
4254
|
+
export type WorkspacesListBySubscriptionInput =
|
|
4255
|
+
typeof WorkspacesListBySubscriptionInput.Type;
|
|
988
4256
|
|
|
989
4257
|
// Output Schema
|
|
990
|
-
export const
|
|
991
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
992
|
-
|
|
993
|
-
|
|
4258
|
+
export const WorkspacesListBySubscriptionOutput =
|
|
4259
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4260
|
+
value: Schema.optional(
|
|
4261
|
+
Schema.Array(
|
|
4262
|
+
Schema.Struct({
|
|
4263
|
+
managedBy: Schema.optional(Schema.String),
|
|
4264
|
+
kind: Schema.optional(Schema.String),
|
|
4265
|
+
etag: Schema.optional(Schema.String),
|
|
4266
|
+
identity: Schema.optional(
|
|
4267
|
+
Schema.Struct({
|
|
4268
|
+
principalId: Schema.optional(Schema.String),
|
|
4269
|
+
tenantId: Schema.optional(Schema.String),
|
|
4270
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
4271
|
+
}),
|
|
4272
|
+
),
|
|
4273
|
+
sku: Schema.optional(
|
|
4274
|
+
Schema.Struct({
|
|
4275
|
+
name: Schema.String,
|
|
4276
|
+
tier: Schema.optional(
|
|
4277
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
4278
|
+
),
|
|
4279
|
+
size: Schema.optional(Schema.String),
|
|
4280
|
+
family: Schema.optional(Schema.String),
|
|
4281
|
+
capacity: Schema.optional(Schema.Number),
|
|
4282
|
+
}),
|
|
4283
|
+
),
|
|
4284
|
+
plan: Schema.optional(
|
|
4285
|
+
Schema.Struct({
|
|
4286
|
+
name: Schema.String,
|
|
4287
|
+
publisher: Schema.String,
|
|
4288
|
+
product: Schema.String,
|
|
4289
|
+
promotionCode: Schema.optional(Schema.String),
|
|
4290
|
+
version: Schema.optional(Schema.String),
|
|
4291
|
+
}),
|
|
4292
|
+
),
|
|
4293
|
+
}),
|
|
4294
|
+
),
|
|
4295
|
+
),
|
|
4296
|
+
nextLink: Schema.optional(Schema.String),
|
|
4297
|
+
});
|
|
4298
|
+
export type WorkspacesListBySubscriptionOutput =
|
|
4299
|
+
typeof WorkspacesListBySubscriptionOutput.Type;
|
|
994
4300
|
|
|
995
4301
|
// The operation
|
|
996
4302
|
/**
|
|
997
|
-
*
|
|
4303
|
+
* List workspaces in subscription.
|
|
998
4304
|
*
|
|
999
4305
|
* @param api-version - The API version to use for this operation.
|
|
1000
4306
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1001
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1002
4307
|
*/
|
|
1003
|
-
export const
|
|
1004
|
-
() => ({
|
|
1005
|
-
inputSchema:
|
|
1006
|
-
outputSchema:
|
|
1007
|
-
})
|
|
1008
|
-
);
|
|
4308
|
+
export const WorkspacesListBySubscription =
|
|
4309
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4310
|
+
inputSchema: WorkspacesListBySubscriptionInput,
|
|
4311
|
+
outputSchema: WorkspacesListBySubscriptionOutput,
|
|
4312
|
+
}));
|
|
1009
4313
|
// Input Schema
|
|
1010
|
-
export const
|
|
4314
|
+
export const WorkspacesUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1011
4315
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1012
4316
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1013
4317
|
"api-version": Schema.String,
|
|
1014
4318
|
}).pipe(
|
|
1015
4319
|
T.Http({
|
|
1016
|
-
method: "
|
|
4320
|
+
method: "PATCH",
|
|
1017
4321
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/workspaces/{workspaceName}",
|
|
1018
4322
|
}),
|
|
1019
4323
|
);
|
|
1020
|
-
export type
|
|
4324
|
+
export type WorkspacesUpdateInput = typeof WorkspacesUpdateInput.Type;
|
|
1021
4325
|
|
|
1022
4326
|
// Output Schema
|
|
1023
|
-
export const
|
|
1024
|
-
|
|
4327
|
+
export const WorkspacesUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
4328
|
+
{
|
|
4329
|
+
managedBy: Schema.optional(Schema.String),
|
|
4330
|
+
kind: Schema.optional(Schema.String),
|
|
4331
|
+
etag: Schema.optional(Schema.String),
|
|
4332
|
+
identity: Schema.optional(
|
|
4333
|
+
Schema.Struct({
|
|
4334
|
+
principalId: Schema.optional(Schema.String),
|
|
4335
|
+
tenantId: Schema.optional(Schema.String),
|
|
4336
|
+
type: Schema.optional(Schema.Literals(["SystemAssigned"])),
|
|
4337
|
+
}),
|
|
4338
|
+
),
|
|
4339
|
+
sku: Schema.optional(
|
|
4340
|
+
Schema.Struct({
|
|
4341
|
+
name: Schema.String,
|
|
4342
|
+
tier: Schema.optional(
|
|
4343
|
+
Schema.Literals(["Free", "Basic", "Standard", "Premium"]),
|
|
4344
|
+
),
|
|
4345
|
+
size: Schema.optional(Schema.String),
|
|
4346
|
+
family: Schema.optional(Schema.String),
|
|
4347
|
+
capacity: Schema.optional(Schema.Number),
|
|
4348
|
+
}),
|
|
4349
|
+
),
|
|
4350
|
+
plan: Schema.optional(
|
|
4351
|
+
Schema.Struct({
|
|
4352
|
+
name: Schema.String,
|
|
4353
|
+
publisher: Schema.String,
|
|
4354
|
+
product: Schema.String,
|
|
4355
|
+
promotionCode: Schema.optional(Schema.String),
|
|
4356
|
+
version: Schema.optional(Schema.String),
|
|
4357
|
+
}),
|
|
4358
|
+
),
|
|
4359
|
+
},
|
|
4360
|
+
);
|
|
4361
|
+
export type WorkspacesUpdateOutput = typeof WorkspacesUpdateOutput.Type;
|
|
1025
4362
|
|
|
1026
4363
|
// The operation
|
|
1027
4364
|
/**
|
|
1028
|
-
*
|
|
4365
|
+
* Update a workspace.
|
|
1029
4366
|
*
|
|
1030
4367
|
* @param api-version - The API version to use for this operation.
|
|
1031
4368
|
* @param subscriptionId - The ID of the target subscription. The value must be an UUID.
|
|
1032
4369
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1033
4370
|
*/
|
|
1034
|
-
export const
|
|
1035
|
-
inputSchema:
|
|
1036
|
-
outputSchema:
|
|
4371
|
+
export const WorkspacesUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4372
|
+
inputSchema: WorkspacesUpdateInput,
|
|
4373
|
+
outputSchema: WorkspacesUpdateOutput,
|
|
1037
4374
|
}));
|