@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
|
@@ -12,6 +12,8 @@ export const AccountCapabilityHostsCreateOrUpdateInput =
|
|
|
12
12
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
13
13
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
14
14
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
15
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
16
|
+
capabilityHostName: Schema.String.pipe(T.PathParam()),
|
|
15
17
|
"api-version": Schema.String,
|
|
16
18
|
}).pipe(T.Http({
|
|
17
19
|
method: "PUT",
|
|
@@ -24,9 +26,11 @@ export const AccountCapabilityHostsCreateOrUpdateOutput =
|
|
|
24
26
|
/**
|
|
25
27
|
* Create or update account capabilityHost.
|
|
26
28
|
*
|
|
29
|
+
* @param api-version - The API version to use for this operation.
|
|
27
30
|
* @param subscriptionId - The ID of the target subscription.
|
|
28
31
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
29
|
-
* @param
|
|
32
|
+
* @param accountName - The name of Cognitive Services account.
|
|
33
|
+
* @param capabilityHostName - The name of the capability host associated with the Cognitive Services Resource
|
|
30
34
|
*/
|
|
31
35
|
export const AccountCapabilityHostsCreateOrUpdate =
|
|
32
36
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -38,6 +42,8 @@ export const AccountCapabilityHostsDeleteInput =
|
|
|
38
42
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
39
43
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
40
44
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
45
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
46
|
+
capabilityHostName: Schema.String.pipe(T.PathParam()),
|
|
41
47
|
"api-version": Schema.String,
|
|
42
48
|
}).pipe(T.Http({
|
|
43
49
|
method: "DELETE",
|
|
@@ -50,9 +56,11 @@ export const AccountCapabilityHostsDeleteOutput =
|
|
|
50
56
|
/**
|
|
51
57
|
* Delete account capabilityHost.
|
|
52
58
|
*
|
|
59
|
+
* @param api-version - The API version to use for this operation.
|
|
53
60
|
* @param subscriptionId - The ID of the target subscription.
|
|
54
61
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
55
|
-
* @param
|
|
62
|
+
* @param accountName - The name of Cognitive Services account.
|
|
63
|
+
* @param capabilityHostName - The name of the capability host associated with the Cognitive Services Resource
|
|
56
64
|
*/
|
|
57
65
|
export const AccountCapabilityHostsDelete =
|
|
58
66
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -64,6 +72,8 @@ export const AccountCapabilityHostsGetInput =
|
|
|
64
72
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
65
73
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
66
74
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
75
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
76
|
+
capabilityHostName: Schema.String.pipe(T.PathParam()),
|
|
67
77
|
"api-version": Schema.String,
|
|
68
78
|
}).pipe(T.Http({
|
|
69
79
|
method: "GET",
|
|
@@ -76,9 +86,11 @@ export const AccountCapabilityHostsGetOutput =
|
|
|
76
86
|
/**
|
|
77
87
|
* Get account capabilityHost.
|
|
78
88
|
*
|
|
89
|
+
* @param api-version - The API version to use for this operation.
|
|
79
90
|
* @param subscriptionId - The ID of the target subscription.
|
|
80
91
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
81
|
-
* @param
|
|
92
|
+
* @param accountName - The name of Cognitive Services account.
|
|
93
|
+
* @param capabilityHostName - The name of the capability host associated with the Cognitive Services Resource
|
|
82
94
|
*/
|
|
83
95
|
export const AccountCapabilityHostsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
84
96
|
inputSchema: AccountCapabilityHostsGetInput,
|
|
@@ -89,6 +101,7 @@ export const AccountCapabilityHostsListInput =
|
|
|
89
101
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
90
102
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
91
103
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
104
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
92
105
|
"api-version": Schema.String,
|
|
93
106
|
}).pipe(T.Http({
|
|
94
107
|
method: "GET",
|
|
@@ -98,25 +111,57 @@ export const AccountCapabilityHostsListInput =
|
|
|
98
111
|
export const AccountCapabilityHostsListOutput =
|
|
99
112
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
100
113
|
nextLink: Schema.optional(Schema.NullOr(Schema.String)),
|
|
101
|
-
value: Schema.optional(Schema.
|
|
114
|
+
value: Schema.optional(Schema.Array(Schema.Struct({}))),
|
|
102
115
|
});
|
|
103
116
|
// The operation
|
|
104
117
|
/**
|
|
105
118
|
* List capabilityHost.
|
|
106
119
|
*
|
|
120
|
+
* @param api-version - The API version to use for this operation.
|
|
107
121
|
* @param subscriptionId - The ID of the target subscription.
|
|
108
122
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
109
|
-
* @param
|
|
123
|
+
* @param accountName - The name of Cognitive Services account.
|
|
110
124
|
*/
|
|
111
125
|
export const AccountCapabilityHostsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
112
126
|
inputSchema: AccountCapabilityHostsListInput,
|
|
113
127
|
outputSchema: AccountCapabilityHostsListOutput,
|
|
114
128
|
}));
|
|
115
129
|
// Input Schema
|
|
130
|
+
export const AccountConnectionsCreateInput =
|
|
131
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
132
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
133
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
134
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
135
|
+
connectionName: Schema.String.pipe(T.PathParam()),
|
|
136
|
+
"api-version": Schema.String,
|
|
137
|
+
}).pipe(T.Http({
|
|
138
|
+
method: "PUT",
|
|
139
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/connections/{connectionName}",
|
|
140
|
+
}));
|
|
141
|
+
// Output Schema
|
|
142
|
+
export const AccountConnectionsCreateOutput =
|
|
143
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
144
|
+
// The operation
|
|
145
|
+
/**
|
|
146
|
+
* Create or update Cognitive Services account connection under the specified account.
|
|
147
|
+
*
|
|
148
|
+
* @param api-version - The API version to use for this operation.
|
|
149
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
150
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
151
|
+
* @param accountName - The name of Cognitive Services account.
|
|
152
|
+
* @param connectionName - Friendly name of the connection
|
|
153
|
+
*/
|
|
154
|
+
export const AccountConnectionsCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
155
|
+
inputSchema: AccountConnectionsCreateInput,
|
|
156
|
+
outputSchema: AccountConnectionsCreateOutput,
|
|
157
|
+
}));
|
|
158
|
+
// Input Schema
|
|
116
159
|
export const AccountConnectionsDeleteInput =
|
|
117
160
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
118
161
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
119
162
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
163
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
164
|
+
connectionName: Schema.String.pipe(T.PathParam()),
|
|
120
165
|
"api-version": Schema.String,
|
|
121
166
|
}).pipe(T.Http({
|
|
122
167
|
method: "DELETE",
|
|
@@ -129,18 +174,115 @@ export const AccountConnectionsDeleteOutput =
|
|
|
129
174
|
/**
|
|
130
175
|
* Delete Cognitive Services account connection by name.
|
|
131
176
|
*
|
|
177
|
+
* @param api-version - The API version to use for this operation.
|
|
132
178
|
* @param subscriptionId - The ID of the target subscription.
|
|
133
179
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
134
|
-
* @param
|
|
180
|
+
* @param accountName - The name of Cognitive Services account.
|
|
181
|
+
* @param connectionName - Friendly name of the connection
|
|
135
182
|
*/
|
|
136
183
|
export const AccountConnectionsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
137
184
|
inputSchema: AccountConnectionsDeleteInput,
|
|
138
185
|
outputSchema: AccountConnectionsDeleteOutput,
|
|
139
186
|
}));
|
|
140
187
|
// Input Schema
|
|
141
|
-
export const
|
|
188
|
+
export const AccountConnectionsGetInput =
|
|
189
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
190
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
191
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
192
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
193
|
+
connectionName: Schema.String.pipe(T.PathParam()),
|
|
194
|
+
"api-version": Schema.String,
|
|
195
|
+
}).pipe(T.Http({
|
|
196
|
+
method: "GET",
|
|
197
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/connections/{connectionName}",
|
|
198
|
+
}));
|
|
199
|
+
// Output Schema
|
|
200
|
+
export const AccountConnectionsGetOutput =
|
|
201
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
202
|
+
// The operation
|
|
203
|
+
/**
|
|
204
|
+
* Lists Cognitive Services account connection by name.
|
|
205
|
+
*
|
|
206
|
+
* @param api-version - The API version to use for this operation.
|
|
207
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
208
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
209
|
+
* @param accountName - The name of Cognitive Services account.
|
|
210
|
+
* @param connectionName - Friendly name of the connection
|
|
211
|
+
*/
|
|
212
|
+
export const AccountConnectionsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
213
|
+
inputSchema: AccountConnectionsGetInput,
|
|
214
|
+
outputSchema: AccountConnectionsGetOutput,
|
|
215
|
+
}));
|
|
216
|
+
// Input Schema
|
|
217
|
+
export const AccountConnectionsListInput =
|
|
218
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
219
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
220
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
221
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
222
|
+
"api-version": Schema.String,
|
|
223
|
+
target: Schema.optional(Schema.String),
|
|
224
|
+
category: Schema.optional(Schema.String),
|
|
225
|
+
includeAll: Schema.optional(Schema.Boolean),
|
|
226
|
+
}).pipe(T.Http({
|
|
227
|
+
method: "GET",
|
|
228
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/connections",
|
|
229
|
+
}));
|
|
230
|
+
// Output Schema
|
|
231
|
+
export const AccountConnectionsListOutput =
|
|
232
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
233
|
+
nextLink: Schema.optional(Schema.String),
|
|
234
|
+
value: Schema.optional(Schema.Array(Schema.Struct({}))),
|
|
235
|
+
});
|
|
236
|
+
// The operation
|
|
237
|
+
/**
|
|
238
|
+
* Lists all the available Cognitive Services account connections under the specified account.
|
|
239
|
+
*
|
|
240
|
+
* @param api-version - The API version to use for this operation.
|
|
241
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
242
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
243
|
+
* @param accountName - The name of Cognitive Services account.
|
|
244
|
+
* @param target - Target of the connection.
|
|
245
|
+
* @param category - Category of the connection.
|
|
246
|
+
* @param includeAll - query parameter that indicates if get connection call should return both connections and datastores
|
|
247
|
+
*/
|
|
248
|
+
export const AccountConnectionsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
249
|
+
inputSchema: AccountConnectionsListInput,
|
|
250
|
+
outputSchema: AccountConnectionsListOutput,
|
|
251
|
+
}));
|
|
252
|
+
// Input Schema
|
|
253
|
+
export const AccountConnectionsUpdateInput =
|
|
254
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
255
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
142
256
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
257
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
258
|
+
connectionName: Schema.String.pipe(T.PathParam()),
|
|
259
|
+
"api-version": Schema.String,
|
|
260
|
+
}).pipe(T.Http({
|
|
261
|
+
method: "PATCH",
|
|
262
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/connections/{connectionName}",
|
|
263
|
+
}));
|
|
264
|
+
// Output Schema
|
|
265
|
+
export const AccountConnectionsUpdateOutput =
|
|
266
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
267
|
+
// The operation
|
|
268
|
+
/**
|
|
269
|
+
* Update Cognitive Services account connection under the specified account.
|
|
270
|
+
*
|
|
271
|
+
* @param api-version - The API version to use for this operation.
|
|
272
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
273
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
274
|
+
* @param accountName - The name of Cognitive Services account.
|
|
275
|
+
* @param connectionName - Friendly name of the connection
|
|
276
|
+
*/
|
|
277
|
+
export const AccountConnectionsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
278
|
+
inputSchema: AccountConnectionsUpdateInput,
|
|
279
|
+
outputSchema: AccountConnectionsUpdateOutput,
|
|
280
|
+
}));
|
|
281
|
+
// Input Schema
|
|
282
|
+
export const AccountsCreateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
143
283
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
284
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
285
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
144
286
|
"api-version": Schema.String,
|
|
145
287
|
}).pipe(T.Http({
|
|
146
288
|
method: "PUT",
|
|
@@ -148,15 +290,26 @@ export const AccountsCreateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
148
290
|
}));
|
|
149
291
|
// Output Schema
|
|
150
292
|
export const AccountsCreateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
151
|
-
|
|
293
|
+
id: Schema.optional(Schema.String),
|
|
294
|
+
name: Schema.optional(Schema.String),
|
|
295
|
+
type: Schema.optional(Schema.String),
|
|
296
|
+
systemData: Schema.optional(Schema.Struct({
|
|
297
|
+
createdBy: Schema.optional(Schema.String),
|
|
298
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
299
|
+
createdAt: Schema.optional(Schema.String),
|
|
300
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
301
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
302
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
303
|
+
})),
|
|
152
304
|
});
|
|
153
305
|
// The operation
|
|
154
306
|
/**
|
|
155
307
|
* Create Cognitive Services Account. Accounts is a resource group wide resource type. It holds the keys for developer to access intelligent APIs. It's also the resource type for billing.
|
|
156
308
|
*
|
|
157
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
158
309
|
* @param api-version - The API version to use for this operation.
|
|
159
310
|
* @param subscriptionId - The ID of the target subscription.
|
|
311
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
312
|
+
* @param accountName - The name of Cognitive Services account.
|
|
160
313
|
*/
|
|
161
314
|
export const AccountsCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
162
315
|
inputSchema: AccountsCreateInput,
|
|
@@ -164,8 +317,9 @@ export const AccountsCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
164
317
|
}));
|
|
165
318
|
// Input Schema
|
|
166
319
|
export const AccountsDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
167
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
168
320
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
321
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
322
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
169
323
|
"api-version": Schema.String,
|
|
170
324
|
}).pipe(T.Http({
|
|
171
325
|
method: "DELETE",
|
|
@@ -177,9 +331,10 @@ export const AccountsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
|
177
331
|
/**
|
|
178
332
|
* Deletes a Cognitive Services account from the resource group.
|
|
179
333
|
*
|
|
180
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
181
334
|
* @param api-version - The API version to use for this operation.
|
|
182
335
|
* @param subscriptionId - The ID of the target subscription.
|
|
336
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
337
|
+
* @param accountName - The name of Cognitive Services account.
|
|
183
338
|
*/
|
|
184
339
|
export const AccountsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
185
340
|
inputSchema: AccountsDeleteInput,
|
|
@@ -187,8 +342,9 @@ export const AccountsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
187
342
|
}));
|
|
188
343
|
// Input Schema
|
|
189
344
|
export const AccountsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
190
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
191
345
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
346
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
347
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
192
348
|
"api-version": Schema.String,
|
|
193
349
|
}).pipe(T.Http({
|
|
194
350
|
method: "GET",
|
|
@@ -196,15 +352,26 @@ export const AccountsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
196
352
|
}));
|
|
197
353
|
// Output Schema
|
|
198
354
|
export const AccountsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
199
|
-
|
|
355
|
+
id: Schema.optional(Schema.String),
|
|
356
|
+
name: Schema.optional(Schema.String),
|
|
357
|
+
type: Schema.optional(Schema.String),
|
|
358
|
+
systemData: Schema.optional(Schema.Struct({
|
|
359
|
+
createdBy: Schema.optional(Schema.String),
|
|
360
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
361
|
+
createdAt: Schema.optional(Schema.String),
|
|
362
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
363
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
364
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
365
|
+
})),
|
|
200
366
|
});
|
|
201
367
|
// The operation
|
|
202
368
|
/**
|
|
203
369
|
* Returns a Cognitive Services account specified by the parameters.
|
|
204
370
|
*
|
|
205
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
206
371
|
* @param api-version - The API version to use for this operation.
|
|
207
372
|
* @param subscriptionId - The ID of the target subscription.
|
|
373
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
374
|
+
* @param accountName - The name of Cognitive Services account.
|
|
208
375
|
*/
|
|
209
376
|
export const AccountsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
210
377
|
inputSchema: AccountsGetInput,
|
|
@@ -222,7 +389,27 @@ export const AccountsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
222
389
|
export const AccountsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
223
390
|
nextLink: Schema.optional(Schema.String),
|
|
224
391
|
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
225
|
-
|
|
392
|
+
id: Schema.optional(Schema.String),
|
|
393
|
+
name: Schema.optional(Schema.String),
|
|
394
|
+
type: Schema.optional(Schema.String),
|
|
395
|
+
systemData: Schema.optional(Schema.Struct({
|
|
396
|
+
createdBy: Schema.optional(Schema.String),
|
|
397
|
+
createdByType: Schema.optional(Schema.Literals([
|
|
398
|
+
"User",
|
|
399
|
+
"Application",
|
|
400
|
+
"ManagedIdentity",
|
|
401
|
+
"Key",
|
|
402
|
+
])),
|
|
403
|
+
createdAt: Schema.optional(Schema.String),
|
|
404
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
405
|
+
lastModifiedByType: Schema.optional(Schema.Literals([
|
|
406
|
+
"User",
|
|
407
|
+
"Application",
|
|
408
|
+
"ManagedIdentity",
|
|
409
|
+
"Key",
|
|
410
|
+
])),
|
|
411
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
412
|
+
})),
|
|
226
413
|
}))),
|
|
227
414
|
});
|
|
228
415
|
// The operation
|
|
@@ -239,8 +426,8 @@ export const AccountsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
239
426
|
// Input Schema
|
|
240
427
|
export const AccountsListByResourceGroupInput =
|
|
241
428
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
242
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
243
429
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
430
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
244
431
|
"api-version": Schema.String,
|
|
245
432
|
}).pipe(T.Http({
|
|
246
433
|
method: "GET",
|
|
@@ -251,16 +438,36 @@ export const AccountsListByResourceGroupOutput =
|
|
|
251
438
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
252
439
|
nextLink: Schema.optional(Schema.String),
|
|
253
440
|
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
254
|
-
|
|
441
|
+
id: Schema.optional(Schema.String),
|
|
442
|
+
name: Schema.optional(Schema.String),
|
|
443
|
+
type: Schema.optional(Schema.String),
|
|
444
|
+
systemData: Schema.optional(Schema.Struct({
|
|
445
|
+
createdBy: Schema.optional(Schema.String),
|
|
446
|
+
createdByType: Schema.optional(Schema.Literals([
|
|
447
|
+
"User",
|
|
448
|
+
"Application",
|
|
449
|
+
"ManagedIdentity",
|
|
450
|
+
"Key",
|
|
451
|
+
])),
|
|
452
|
+
createdAt: Schema.optional(Schema.String),
|
|
453
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
454
|
+
lastModifiedByType: Schema.optional(Schema.Literals([
|
|
455
|
+
"User",
|
|
456
|
+
"Application",
|
|
457
|
+
"ManagedIdentity",
|
|
458
|
+
"Key",
|
|
459
|
+
])),
|
|
460
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
461
|
+
})),
|
|
255
462
|
}))),
|
|
256
463
|
});
|
|
257
464
|
// The operation
|
|
258
465
|
/**
|
|
259
466
|
* Returns all the resources of a particular type belonging to a resource group
|
|
260
467
|
*
|
|
261
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
262
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
263
468
|
* @param api-version - The API version to use for this operation.
|
|
469
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
470
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
264
471
|
*/
|
|
265
472
|
export const AccountsListByResourceGroup = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
266
473
|
inputSchema: AccountsListByResourceGroupInput,
|
|
@@ -268,8 +475,9 @@ export const AccountsListByResourceGroup = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
268
475
|
}));
|
|
269
476
|
// Input Schema
|
|
270
477
|
export const AccountsListKeysInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
271
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
272
478
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
479
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
480
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
273
481
|
"api-version": Schema.String,
|
|
274
482
|
}).pipe(T.Http({
|
|
275
483
|
method: "POST",
|
|
@@ -284,9 +492,10 @@ export const AccountsListKeysOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
284
492
|
/**
|
|
285
493
|
* Lists the account keys for the specified Cognitive Services account.
|
|
286
494
|
*
|
|
287
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
288
495
|
* @param api-version - The API version to use for this operation.
|
|
289
496
|
* @param subscriptionId - The ID of the target subscription.
|
|
497
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
498
|
+
* @param accountName - The name of Cognitive Services account.
|
|
290
499
|
*/
|
|
291
500
|
export const AccountsListKeys = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
292
501
|
inputSchema: AccountsListKeysInput,
|
|
@@ -295,8 +504,9 @@ export const AccountsListKeys = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
295
504
|
// Input Schema
|
|
296
505
|
export const AccountsListModelsInput =
|
|
297
506
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
298
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
299
507
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
508
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
509
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
300
510
|
"api-version": Schema.String,
|
|
301
511
|
}).pipe(T.Http({
|
|
302
512
|
method: "GET",
|
|
@@ -334,9 +544,10 @@ export const AccountsListModelsOutput =
|
|
|
334
544
|
/**
|
|
335
545
|
* List available Models for the requested Cognitive Services account
|
|
336
546
|
*
|
|
337
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
338
547
|
* @param api-version - The API version to use for this operation.
|
|
339
548
|
* @param subscriptionId - The ID of the target subscription.
|
|
549
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
550
|
+
* @param accountName - The name of Cognitive Services account.
|
|
340
551
|
*/
|
|
341
552
|
export const AccountsListModels = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
342
553
|
inputSchema: AccountsListModelsInput,
|
|
@@ -344,8 +555,9 @@ export const AccountsListModels = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
344
555
|
}));
|
|
345
556
|
// Input Schema
|
|
346
557
|
export const AccountsListSkusInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
347
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
348
558
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
559
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
560
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
349
561
|
"api-version": Schema.String,
|
|
350
562
|
}).pipe(T.Http({
|
|
351
563
|
method: "GET",
|
|
@@ -374,9 +586,10 @@ export const AccountsListSkusOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
374
586
|
/**
|
|
375
587
|
* List available SKUs for the requested Cognitive Services account
|
|
376
588
|
*
|
|
377
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
378
589
|
* @param api-version - The API version to use for this operation.
|
|
379
590
|
* @param subscriptionId - The ID of the target subscription.
|
|
591
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
592
|
+
* @param accountName - The name of Cognitive Services account.
|
|
380
593
|
*/
|
|
381
594
|
export const AccountsListSkus = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
382
595
|
inputSchema: AccountsListSkusInput,
|
|
@@ -385,9 +598,11 @@ export const AccountsListSkus = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
385
598
|
// Input Schema
|
|
386
599
|
export const AccountsListUsagesInput =
|
|
387
600
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
388
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
389
601
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
602
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
603
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
390
604
|
"api-version": Schema.String,
|
|
605
|
+
$filter: Schema.optional(Schema.String),
|
|
391
606
|
}).pipe(T.Http({
|
|
392
607
|
method: "GET",
|
|
393
608
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/usages",
|
|
@@ -421,9 +636,11 @@ export const AccountsListUsagesOutput =
|
|
|
421
636
|
/**
|
|
422
637
|
* Get usages for the requested Cognitive Services account
|
|
423
638
|
*
|
|
424
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
425
639
|
* @param api-version - The API version to use for this operation.
|
|
426
640
|
* @param subscriptionId - The ID of the target subscription.
|
|
641
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
642
|
+
* @param accountName - The name of Cognitive Services account.
|
|
643
|
+
* @param $filter - An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names).
|
|
427
644
|
*/
|
|
428
645
|
export const AccountsListUsages = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
429
646
|
inputSchema: AccountsListUsagesInput,
|
|
@@ -432,8 +649,9 @@ export const AccountsListUsages = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
432
649
|
// Input Schema
|
|
433
650
|
export const AccountsRegenerateKeyInput =
|
|
434
651
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
435
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
436
652
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
653
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
654
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
437
655
|
"api-version": Schema.String,
|
|
438
656
|
}).pipe(T.Http({
|
|
439
657
|
method: "POST",
|
|
@@ -449,9 +667,10 @@ export const AccountsRegenerateKeyOutput =
|
|
|
449
667
|
/**
|
|
450
668
|
* Regenerates the specified account key for the specified Cognitive Services account.
|
|
451
669
|
*
|
|
452
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
453
670
|
* @param api-version - The API version to use for this operation.
|
|
454
671
|
* @param subscriptionId - The ID of the target subscription.
|
|
672
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
673
|
+
* @param accountName - The name of Cognitive Services account.
|
|
455
674
|
*/
|
|
456
675
|
export const AccountsRegenerateKey = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
457
676
|
inputSchema: AccountsRegenerateKeyInput,
|
|
@@ -459,8 +678,9 @@ export const AccountsRegenerateKey = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
|
|
|
459
678
|
}));
|
|
460
679
|
// Input Schema
|
|
461
680
|
export const AccountsUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
462
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
463
681
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
682
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
683
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
464
684
|
"api-version": Schema.String,
|
|
465
685
|
}).pipe(T.Http({
|
|
466
686
|
method: "PATCH",
|
|
@@ -468,167 +688,644 @@ export const AccountsUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
468
688
|
}));
|
|
469
689
|
// Output Schema
|
|
470
690
|
export const AccountsUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
471
|
-
|
|
691
|
+
id: Schema.optional(Schema.String),
|
|
692
|
+
name: Schema.optional(Schema.String),
|
|
693
|
+
type: Schema.optional(Schema.String),
|
|
694
|
+
systemData: Schema.optional(Schema.Struct({
|
|
695
|
+
createdBy: Schema.optional(Schema.String),
|
|
696
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
697
|
+
createdAt: Schema.optional(Schema.String),
|
|
698
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
699
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
700
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
701
|
+
})),
|
|
472
702
|
});
|
|
473
703
|
// The operation
|
|
474
704
|
/**
|
|
475
705
|
* Updates a Cognitive Services account
|
|
476
706
|
*
|
|
477
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
478
707
|
* @param api-version - The API version to use for this operation.
|
|
479
708
|
* @param subscriptionId - The ID of the target subscription.
|
|
709
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
710
|
+
* @param accountName - The name of Cognitive Services account.
|
|
480
711
|
*/
|
|
481
712
|
export const AccountsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
482
713
|
inputSchema: AccountsUpdateInput,
|
|
483
714
|
outputSchema: AccountsUpdateOutput,
|
|
484
715
|
}));
|
|
485
716
|
// Input Schema
|
|
486
|
-
export const
|
|
717
|
+
export const AgentApplicationsCreateOrUpdateInput =
|
|
487
718
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
488
719
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
720
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
721
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
722
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
723
|
+
name: Schema.String.pipe(T.PathParam()),
|
|
489
724
|
"api-version": Schema.String,
|
|
490
725
|
}).pipe(T.Http({
|
|
491
|
-
method: "
|
|
492
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/
|
|
726
|
+
method: "PUT",
|
|
727
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{name}",
|
|
493
728
|
}));
|
|
494
729
|
// Output Schema
|
|
495
|
-
export const
|
|
496
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
497
|
-
model: Schema.optional(Schema.Struct({
|
|
498
|
-
publisher: Schema.optional(Schema.String),
|
|
499
|
-
format: Schema.optional(Schema.String),
|
|
500
|
-
name: Schema.optional(Schema.String),
|
|
501
|
-
version: Schema.optional(Schema.String),
|
|
502
|
-
source: Schema.optional(Schema.String),
|
|
503
|
-
sourceAccount: Schema.optional(Schema.String),
|
|
504
|
-
callRateLimit: Schema.optional(Schema.Struct({
|
|
505
|
-
count: Schema.optional(Schema.Number),
|
|
506
|
-
renewalPeriod: Schema.optional(Schema.Number),
|
|
507
|
-
rules: Schema.optional(Schema.Array(Schema.Struct({
|
|
508
|
-
key: Schema.optional(Schema.String),
|
|
509
|
-
renewalPeriod: Schema.optional(Schema.Number),
|
|
510
|
-
count: Schema.optional(Schema.Number),
|
|
511
|
-
minCount: Schema.optional(Schema.Number),
|
|
512
|
-
dynamicThrottlingEnabled: Schema.optional(Schema.Boolean),
|
|
513
|
-
matchPatterns: Schema.optional(Schema.Array(Schema.Struct({
|
|
514
|
-
path: Schema.optional(Schema.String),
|
|
515
|
-
method: Schema.optional(Schema.String),
|
|
516
|
-
}))),
|
|
517
|
-
}))),
|
|
518
|
-
})),
|
|
519
|
-
})),
|
|
520
|
-
skuName: Schema.optional(Schema.String),
|
|
521
|
-
estimatedCapacity: Schema.optional(Schema.Struct({
|
|
522
|
-
value: Schema.optional(Schema.Number),
|
|
523
|
-
deployableValue: Schema.optional(Schema.Number),
|
|
524
|
-
})),
|
|
525
|
-
});
|
|
730
|
+
export const AgentApplicationsCreateOrUpdateOutput =
|
|
731
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
526
732
|
// The operation
|
|
527
733
|
/**
|
|
528
|
-
*
|
|
734
|
+
* Creates or updates an Agent Application (asynchronous).
|
|
529
735
|
*
|
|
530
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
531
736
|
* @param api-version - The API version to use for this operation.
|
|
737
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
738
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
739
|
+
* @param accountName - The name of Cognitive Services account.
|
|
740
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
741
|
+
* @param name - Name for the Agent Application.
|
|
532
742
|
*/
|
|
533
|
-
export const
|
|
534
|
-
|
|
535
|
-
|
|
743
|
+
export const AgentApplicationsCreateOrUpdate =
|
|
744
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
745
|
+
inputSchema: AgentApplicationsCreateOrUpdateInput,
|
|
746
|
+
outputSchema: AgentApplicationsCreateOrUpdateOutput,
|
|
536
747
|
}));
|
|
537
748
|
// Input Schema
|
|
538
|
-
export const
|
|
749
|
+
export const AgentApplicationsDeleteInput =
|
|
539
750
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
540
751
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
752
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
753
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
754
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
755
|
+
name: Schema.String.pipe(T.PathParam()),
|
|
541
756
|
"api-version": Schema.String,
|
|
542
757
|
}).pipe(T.Http({
|
|
543
|
-
method: "
|
|
544
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/
|
|
758
|
+
method: "DELETE",
|
|
759
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{name}",
|
|
545
760
|
}));
|
|
546
761
|
// Output Schema
|
|
547
|
-
export const
|
|
548
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
549
|
-
isSubdomainAvailable: Schema.optional(Schema.Boolean),
|
|
550
|
-
reason: Schema.optional(Schema.String),
|
|
551
|
-
subdomainName: Schema.optional(Schema.String),
|
|
552
|
-
type: Schema.optional(Schema.String),
|
|
553
|
-
kind: Schema.optional(Schema.String),
|
|
554
|
-
});
|
|
762
|
+
export const AgentApplicationsDeleteOutput =
|
|
763
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
555
764
|
// The operation
|
|
556
765
|
/**
|
|
557
|
-
*
|
|
766
|
+
* Delete Agent Application.
|
|
558
767
|
*
|
|
559
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
560
768
|
* @param api-version - The API version to use for this operation.
|
|
769
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
770
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
771
|
+
* @param accountName - The name of Cognitive Services account.
|
|
772
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
773
|
+
* @param name - Name for the Agent Application.
|
|
561
774
|
*/
|
|
562
|
-
export const
|
|
563
|
-
inputSchema:
|
|
564
|
-
outputSchema:
|
|
775
|
+
export const AgentApplicationsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
776
|
+
inputSchema: AgentApplicationsDeleteInput,
|
|
777
|
+
outputSchema: AgentApplicationsDeleteOutput,
|
|
565
778
|
}));
|
|
566
779
|
// Input Schema
|
|
567
|
-
export const
|
|
780
|
+
export const AgentApplicationsDisableInput =
|
|
568
781
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
569
782
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
783
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
784
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
785
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
786
|
+
name: Schema.String.pipe(T.PathParam()),
|
|
570
787
|
"api-version": Schema.String,
|
|
571
788
|
}).pipe(T.Http({
|
|
572
789
|
method: "POST",
|
|
573
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/
|
|
790
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{name}/disable",
|
|
574
791
|
}));
|
|
575
792
|
// Output Schema
|
|
576
|
-
export const
|
|
577
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
578
|
-
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
579
|
-
kind: Schema.optional(Schema.String),
|
|
580
|
-
type: Schema.optional(Schema.String),
|
|
581
|
-
skuName: Schema.optional(Schema.String),
|
|
582
|
-
skuAvailable: Schema.optional(Schema.Boolean),
|
|
583
|
-
reason: Schema.optional(Schema.String),
|
|
584
|
-
message: Schema.optional(Schema.String),
|
|
585
|
-
}))),
|
|
586
|
-
});
|
|
793
|
+
export const AgentApplicationsDisableOutput =
|
|
794
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
587
795
|
// The operation
|
|
588
796
|
/**
|
|
589
|
-
*
|
|
797
|
+
* Disables an Agent Application.
|
|
590
798
|
*
|
|
591
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
592
799
|
* @param api-version - The API version to use for this operation.
|
|
800
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
801
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
802
|
+
* @param accountName - The name of Cognitive Services account.
|
|
803
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
804
|
+
* @param name - Name for the Agent Application.
|
|
593
805
|
*/
|
|
594
|
-
export const
|
|
595
|
-
inputSchema:
|
|
596
|
-
outputSchema:
|
|
806
|
+
export const AgentApplicationsDisable = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
807
|
+
inputSchema: AgentApplicationsDisableInput,
|
|
808
|
+
outputSchema: AgentApplicationsDisableOutput,
|
|
597
809
|
}));
|
|
598
810
|
// Input Schema
|
|
599
|
-
export const
|
|
811
|
+
export const AgentApplicationsEnableInput =
|
|
600
812
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
601
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
602
813
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
814
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
815
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
816
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
817
|
+
name: Schema.String.pipe(T.PathParam()),
|
|
603
818
|
"api-version": Schema.String,
|
|
604
819
|
}).pipe(T.Http({
|
|
605
|
-
method: "
|
|
606
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/
|
|
820
|
+
method: "POST",
|
|
821
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{name}/enable",
|
|
607
822
|
}));
|
|
608
823
|
// Output Schema
|
|
609
|
-
export const
|
|
610
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.
|
|
824
|
+
export const AgentApplicationsEnableOutput =
|
|
825
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
611
826
|
// The operation
|
|
612
827
|
/**
|
|
613
|
-
*
|
|
828
|
+
* Enables an Agent Application.
|
|
614
829
|
*
|
|
615
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
616
830
|
* @param api-version - The API version to use for this operation.
|
|
617
831
|
* @param subscriptionId - The ID of the target subscription.
|
|
832
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
833
|
+
* @param accountName - The name of Cognitive Services account.
|
|
834
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
835
|
+
* @param name - Name for the Agent Application.
|
|
618
836
|
*/
|
|
619
|
-
export const
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
outputSchema: CommitmentPlansCreateOrUpdateOutput,
|
|
837
|
+
export const AgentApplicationsEnable = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
838
|
+
inputSchema: AgentApplicationsEnableInput,
|
|
839
|
+
outputSchema: AgentApplicationsEnableOutput,
|
|
623
840
|
}));
|
|
624
841
|
// Input Schema
|
|
625
|
-
export const
|
|
842
|
+
export const AgentApplicationsGetInput =
|
|
626
843
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
627
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
628
844
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
845
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
846
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
847
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
848
|
+
name: Schema.String.pipe(T.PathParam()),
|
|
629
849
|
"api-version": Schema.String,
|
|
630
850
|
}).pipe(T.Http({
|
|
631
|
-
method: "
|
|
851
|
+
method: "GET",
|
|
852
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{name}",
|
|
853
|
+
}));
|
|
854
|
+
// Output Schema
|
|
855
|
+
export const AgentApplicationsGetOutput =
|
|
856
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
857
|
+
// The operation
|
|
858
|
+
/**
|
|
859
|
+
* Gets an Agent Application by name.
|
|
860
|
+
*
|
|
861
|
+
* @param api-version - The API version to use for this operation.
|
|
862
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
863
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
864
|
+
* @param accountName - The name of Cognitive Services account.
|
|
865
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
866
|
+
* @param name - Name for the Agent Application.
|
|
867
|
+
*/
|
|
868
|
+
export const AgentApplicationsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
869
|
+
inputSchema: AgentApplicationsGetInput,
|
|
870
|
+
outputSchema: AgentApplicationsGetOutput,
|
|
871
|
+
}));
|
|
872
|
+
// Input Schema
|
|
873
|
+
export const AgentApplicationsListInput =
|
|
874
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
875
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
876
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
877
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
878
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
879
|
+
"api-version": Schema.String,
|
|
880
|
+
count: Schema.optional(Schema.Number),
|
|
881
|
+
$skip: Schema.optional(Schema.Number),
|
|
882
|
+
$skipToken: Schema.optional(Schema.String),
|
|
883
|
+
names: Schema.optional(Schema.String),
|
|
884
|
+
searchText: Schema.optional(Schema.String),
|
|
885
|
+
orderBy: Schema.optional(Schema.String),
|
|
886
|
+
orderByAsc: Schema.optional(Schema.Boolean),
|
|
887
|
+
}).pipe(T.Http({
|
|
888
|
+
method: "GET",
|
|
889
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications",
|
|
890
|
+
}));
|
|
891
|
+
// Output Schema
|
|
892
|
+
export const AgentApplicationsListOutput =
|
|
893
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
894
|
+
nextLink: Schema.optional(Schema.NullOr(Schema.String)),
|
|
895
|
+
value: Schema.optional(Schema.Array(Schema.Struct({}))),
|
|
896
|
+
});
|
|
897
|
+
// The operation
|
|
898
|
+
/**
|
|
899
|
+
* Lists Agent Applications in the project.
|
|
900
|
+
*
|
|
901
|
+
* @param api-version - The API version to use for this operation.
|
|
902
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
903
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
904
|
+
* @param accountName - The name of Cognitive Services account.
|
|
905
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
906
|
+
* @param count - Number of agent applications to be retrieved in a page of results.
|
|
907
|
+
* @param $skip - Number of agent applications to skip.
|
|
908
|
+
* @param $skipToken - Continuation token for pagination.
|
|
909
|
+
* @param names - Names of agent applications to retrieve.
|
|
910
|
+
* @param searchText - Search text for filtering agent applications.
|
|
911
|
+
* @param orderBy - Field to order by.
|
|
912
|
+
* @param orderByAsc - Whether to order in ascending order.
|
|
913
|
+
*/
|
|
914
|
+
export const AgentApplicationsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
915
|
+
inputSchema: AgentApplicationsListInput,
|
|
916
|
+
outputSchema: AgentApplicationsListOutput,
|
|
917
|
+
}));
|
|
918
|
+
// Input Schema
|
|
919
|
+
export const AgentApplicationsListAgentsInput =
|
|
920
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
921
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
922
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
923
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
924
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
925
|
+
name: Schema.String.pipe(T.PathParam()),
|
|
926
|
+
"api-version": Schema.String,
|
|
927
|
+
}).pipe(T.Http({
|
|
928
|
+
method: "POST",
|
|
929
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{name}/listAgents",
|
|
930
|
+
}));
|
|
931
|
+
// Output Schema
|
|
932
|
+
export const AgentApplicationsListAgentsOutput =
|
|
933
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
934
|
+
nextLink: Schema.optional(Schema.NullOr(Schema.String)),
|
|
935
|
+
value: Schema.optional(Schema.NullOr(Schema.Array(Schema.Struct({})))),
|
|
936
|
+
});
|
|
937
|
+
// The operation
|
|
938
|
+
/**
|
|
939
|
+
* Lists agents for an Agent Application.
|
|
940
|
+
*
|
|
941
|
+
* @param api-version - The API version to use for this operation.
|
|
942
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
943
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
944
|
+
* @param accountName - The name of Cognitive Services account.
|
|
945
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
946
|
+
* @param name - Name for the Agent Application.
|
|
947
|
+
*/
|
|
948
|
+
export const AgentApplicationsListAgents = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
949
|
+
inputSchema: AgentApplicationsListAgentsInput,
|
|
950
|
+
outputSchema: AgentApplicationsListAgentsOutput,
|
|
951
|
+
}));
|
|
952
|
+
// Input Schema
|
|
953
|
+
export const AgentDeploymentsCreateOrUpdateInput =
|
|
954
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
955
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
956
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
957
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
958
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
959
|
+
appName: Schema.String.pipe(T.PathParam()),
|
|
960
|
+
deploymentName: Schema.String.pipe(T.PathParam()),
|
|
961
|
+
"api-version": Schema.String,
|
|
962
|
+
}).pipe(T.Http({
|
|
963
|
+
method: "PUT",
|
|
964
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}",
|
|
965
|
+
}));
|
|
966
|
+
// Output Schema
|
|
967
|
+
export const AgentDeploymentsCreateOrUpdateOutput =
|
|
968
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
969
|
+
// The operation
|
|
970
|
+
/**
|
|
971
|
+
* Creates or updates an Agent Deployment (asynchronous).
|
|
972
|
+
*
|
|
973
|
+
* @param api-version - The API version to use for this operation.
|
|
974
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
975
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
976
|
+
* @param accountName - The name of Cognitive Services account.
|
|
977
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
978
|
+
* @param appName - The name of the application associated with the Cognitive Services Account
|
|
979
|
+
* @param deploymentName - The name of the deployment associated with the Cognitive Services Account
|
|
980
|
+
*/
|
|
981
|
+
export const AgentDeploymentsCreateOrUpdate =
|
|
982
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
983
|
+
inputSchema: AgentDeploymentsCreateOrUpdateInput,
|
|
984
|
+
outputSchema: AgentDeploymentsCreateOrUpdateOutput,
|
|
985
|
+
}));
|
|
986
|
+
// Input Schema
|
|
987
|
+
export const AgentDeploymentsDeleteInput =
|
|
988
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
989
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
990
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
991
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
992
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
993
|
+
appName: Schema.String.pipe(T.PathParam()),
|
|
994
|
+
deploymentName: Schema.String.pipe(T.PathParam()),
|
|
995
|
+
"api-version": Schema.String,
|
|
996
|
+
}).pipe(T.Http({
|
|
997
|
+
method: "DELETE",
|
|
998
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}",
|
|
999
|
+
}));
|
|
1000
|
+
// Output Schema
|
|
1001
|
+
export const AgentDeploymentsDeleteOutput =
|
|
1002
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
1003
|
+
// The operation
|
|
1004
|
+
/**
|
|
1005
|
+
* Delete Agent Deployment.
|
|
1006
|
+
*
|
|
1007
|
+
* @param api-version - The API version to use for this operation.
|
|
1008
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1009
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1010
|
+
* @param accountName - The name of Cognitive Services account.
|
|
1011
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
1012
|
+
* @param appName - The name of the application associated with the Cognitive Services Account
|
|
1013
|
+
* @param deploymentName - The name of the deployment associated with the Cognitive Services Account
|
|
1014
|
+
*/
|
|
1015
|
+
export const AgentDeploymentsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1016
|
+
inputSchema: AgentDeploymentsDeleteInput,
|
|
1017
|
+
outputSchema: AgentDeploymentsDeleteOutput,
|
|
1018
|
+
}));
|
|
1019
|
+
// Input Schema
|
|
1020
|
+
export const AgentDeploymentsGetInput =
|
|
1021
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1022
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1023
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1024
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
1025
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
1026
|
+
appName: Schema.String.pipe(T.PathParam()),
|
|
1027
|
+
deploymentName: Schema.String.pipe(T.PathParam()),
|
|
1028
|
+
"api-version": Schema.String,
|
|
1029
|
+
}).pipe(T.Http({
|
|
1030
|
+
method: "GET",
|
|
1031
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}",
|
|
1032
|
+
}));
|
|
1033
|
+
// Output Schema
|
|
1034
|
+
export const AgentDeploymentsGetOutput =
|
|
1035
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
1036
|
+
// The operation
|
|
1037
|
+
/**
|
|
1038
|
+
* Gets an Agent Deployment by name.
|
|
1039
|
+
*
|
|
1040
|
+
* @param api-version - The API version to use for this operation.
|
|
1041
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1042
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1043
|
+
* @param accountName - The name of Cognitive Services account.
|
|
1044
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
1045
|
+
* @param appName - The name of the application associated with the Cognitive Services Account
|
|
1046
|
+
* @param deploymentName - The name of the deployment associated with the Cognitive Services Account
|
|
1047
|
+
*/
|
|
1048
|
+
export const AgentDeploymentsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1049
|
+
inputSchema: AgentDeploymentsGetInput,
|
|
1050
|
+
outputSchema: AgentDeploymentsGetOutput,
|
|
1051
|
+
}));
|
|
1052
|
+
// Input Schema
|
|
1053
|
+
export const AgentDeploymentsListInput =
|
|
1054
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1055
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1056
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1057
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
1058
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
1059
|
+
appName: Schema.String.pipe(T.PathParam()),
|
|
1060
|
+
"api-version": Schema.String,
|
|
1061
|
+
count: Schema.optional(Schema.Number),
|
|
1062
|
+
$skipToken: Schema.optional(Schema.String),
|
|
1063
|
+
names: Schema.optional(Schema.String),
|
|
1064
|
+
orderBy: Schema.optional(Schema.String),
|
|
1065
|
+
orderByAsc: Schema.optional(Schema.Boolean),
|
|
1066
|
+
}).pipe(T.Http({
|
|
1067
|
+
method: "GET",
|
|
1068
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments",
|
|
1069
|
+
}));
|
|
1070
|
+
// Output Schema
|
|
1071
|
+
export const AgentDeploymentsListOutput =
|
|
1072
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1073
|
+
nextLink: Schema.optional(Schema.NullOr(Schema.String)),
|
|
1074
|
+
value: Schema.optional(Schema.Array(Schema.Struct({}))),
|
|
1075
|
+
});
|
|
1076
|
+
// The operation
|
|
1077
|
+
/**
|
|
1078
|
+
* Lists Agent Deployments in the application.
|
|
1079
|
+
*
|
|
1080
|
+
* @param api-version - The API version to use for this operation.
|
|
1081
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1082
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1083
|
+
* @param accountName - The name of Cognitive Services account.
|
|
1084
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
1085
|
+
* @param appName - The name of the application associated with the Cognitive Services Account
|
|
1086
|
+
* @param count - Number of agent deployments to be retrieved in a page of results.
|
|
1087
|
+
* @param $skipToken - Continuation token for pagination.
|
|
1088
|
+
* @param names - Names of agent deployments to retrieve.
|
|
1089
|
+
* @param orderBy - Field to order by.
|
|
1090
|
+
* @param orderByAsc - Whether to order in ascending order.
|
|
1091
|
+
*/
|
|
1092
|
+
export const AgentDeploymentsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1093
|
+
inputSchema: AgentDeploymentsListInput,
|
|
1094
|
+
outputSchema: AgentDeploymentsListOutput,
|
|
1095
|
+
}));
|
|
1096
|
+
// Input Schema
|
|
1097
|
+
export const AgentDeploymentsStartInput =
|
|
1098
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1099
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1100
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1101
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
1102
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
1103
|
+
appName: Schema.String.pipe(T.PathParam()),
|
|
1104
|
+
deploymentName: Schema.String.pipe(T.PathParam()),
|
|
1105
|
+
"api-version": Schema.String,
|
|
1106
|
+
}).pipe(T.Http({
|
|
1107
|
+
method: "POST",
|
|
1108
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}/start",
|
|
1109
|
+
}));
|
|
1110
|
+
// Output Schema
|
|
1111
|
+
export const AgentDeploymentsStartOutput =
|
|
1112
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
1113
|
+
// The operation
|
|
1114
|
+
/**
|
|
1115
|
+
* Starts an Agent Deployment.
|
|
1116
|
+
*
|
|
1117
|
+
* @param api-version - The API version to use for this operation.
|
|
1118
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1119
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1120
|
+
* @param accountName - The name of Cognitive Services account.
|
|
1121
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
1122
|
+
* @param appName - The name of the application associated with the Cognitive Services Account
|
|
1123
|
+
* @param deploymentName - The name of the deployment associated with the Cognitive Services Account
|
|
1124
|
+
*/
|
|
1125
|
+
export const AgentDeploymentsStart = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1126
|
+
inputSchema: AgentDeploymentsStartInput,
|
|
1127
|
+
outputSchema: AgentDeploymentsStartOutput,
|
|
1128
|
+
}));
|
|
1129
|
+
// Input Schema
|
|
1130
|
+
export const AgentDeploymentsStopInput =
|
|
1131
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1132
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1133
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1134
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
1135
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
1136
|
+
appName: Schema.String.pipe(T.PathParam()),
|
|
1137
|
+
deploymentName: Schema.String.pipe(T.PathParam()),
|
|
1138
|
+
"api-version": Schema.String,
|
|
1139
|
+
}).pipe(T.Http({
|
|
1140
|
+
method: "POST",
|
|
1141
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}/stop",
|
|
1142
|
+
}));
|
|
1143
|
+
// Output Schema
|
|
1144
|
+
export const AgentDeploymentsStopOutput =
|
|
1145
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
1146
|
+
// The operation
|
|
1147
|
+
/**
|
|
1148
|
+
* Stops an Agent Deployment.
|
|
1149
|
+
*
|
|
1150
|
+
* @param api-version - The API version to use for this operation.
|
|
1151
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1152
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1153
|
+
* @param accountName - The name of Cognitive Services account.
|
|
1154
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
1155
|
+
* @param appName - The name of the application associated with the Cognitive Services Account
|
|
1156
|
+
* @param deploymentName - The name of the deployment associated with the Cognitive Services Account
|
|
1157
|
+
*/
|
|
1158
|
+
export const AgentDeploymentsStop = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1159
|
+
inputSchema: AgentDeploymentsStopInput,
|
|
1160
|
+
outputSchema: AgentDeploymentsStopOutput,
|
|
1161
|
+
}));
|
|
1162
|
+
// Input Schema
|
|
1163
|
+
export const CalculateModelCapacityInput =
|
|
1164
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1165
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1166
|
+
"api-version": Schema.String,
|
|
1167
|
+
}).pipe(T.Http({
|
|
1168
|
+
method: "POST",
|
|
1169
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/calculateModelCapacity",
|
|
1170
|
+
}));
|
|
1171
|
+
// Output Schema
|
|
1172
|
+
export const CalculateModelCapacityOutput =
|
|
1173
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1174
|
+
model: Schema.optional(Schema.Struct({
|
|
1175
|
+
publisher: Schema.optional(Schema.String),
|
|
1176
|
+
format: Schema.optional(Schema.String),
|
|
1177
|
+
name: Schema.optional(Schema.String),
|
|
1178
|
+
version: Schema.optional(Schema.String),
|
|
1179
|
+
source: Schema.optional(Schema.String),
|
|
1180
|
+
sourceAccount: Schema.optional(Schema.String),
|
|
1181
|
+
callRateLimit: Schema.optional(Schema.Struct({
|
|
1182
|
+
count: Schema.optional(Schema.Number),
|
|
1183
|
+
renewalPeriod: Schema.optional(Schema.Number),
|
|
1184
|
+
rules: Schema.optional(Schema.Array(Schema.Struct({
|
|
1185
|
+
key: Schema.optional(Schema.String),
|
|
1186
|
+
renewalPeriod: Schema.optional(Schema.Number),
|
|
1187
|
+
count: Schema.optional(Schema.Number),
|
|
1188
|
+
minCount: Schema.optional(Schema.Number),
|
|
1189
|
+
dynamicThrottlingEnabled: Schema.optional(Schema.Boolean),
|
|
1190
|
+
matchPatterns: Schema.optional(Schema.Array(Schema.Struct({
|
|
1191
|
+
path: Schema.optional(Schema.String),
|
|
1192
|
+
method: Schema.optional(Schema.String),
|
|
1193
|
+
}))),
|
|
1194
|
+
}))),
|
|
1195
|
+
})),
|
|
1196
|
+
})),
|
|
1197
|
+
skuName: Schema.optional(Schema.String),
|
|
1198
|
+
estimatedCapacity: Schema.optional(Schema.Struct({
|
|
1199
|
+
value: Schema.optional(Schema.Number),
|
|
1200
|
+
deployableValue: Schema.optional(Schema.Number),
|
|
1201
|
+
})),
|
|
1202
|
+
});
|
|
1203
|
+
// The operation
|
|
1204
|
+
/**
|
|
1205
|
+
* Model capacity calculator.
|
|
1206
|
+
*
|
|
1207
|
+
* @param api-version - The API version to use for this operation.
|
|
1208
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1209
|
+
*/
|
|
1210
|
+
export const calculateModelCapacity = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1211
|
+
inputSchema: CalculateModelCapacityInput,
|
|
1212
|
+
outputSchema: CalculateModelCapacityOutput,
|
|
1213
|
+
}));
|
|
1214
|
+
// Input Schema
|
|
1215
|
+
export const CheckDomainAvailabilityInput =
|
|
1216
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1217
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1218
|
+
"api-version": Schema.String,
|
|
1219
|
+
}).pipe(T.Http({
|
|
1220
|
+
method: "POST",
|
|
1221
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/checkDomainAvailability",
|
|
1222
|
+
}));
|
|
1223
|
+
// Output Schema
|
|
1224
|
+
export const CheckDomainAvailabilityOutput =
|
|
1225
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1226
|
+
isSubdomainAvailable: Schema.optional(Schema.Boolean),
|
|
1227
|
+
reason: Schema.optional(Schema.String),
|
|
1228
|
+
subdomainName: Schema.optional(Schema.String),
|
|
1229
|
+
type: Schema.optional(Schema.String),
|
|
1230
|
+
kind: Schema.optional(Schema.String),
|
|
1231
|
+
});
|
|
1232
|
+
// The operation
|
|
1233
|
+
/**
|
|
1234
|
+
* Check whether a domain is available.
|
|
1235
|
+
*
|
|
1236
|
+
* @param api-version - The API version to use for this operation.
|
|
1237
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1238
|
+
*/
|
|
1239
|
+
export const CheckDomainAvailability = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1240
|
+
inputSchema: CheckDomainAvailabilityInput,
|
|
1241
|
+
outputSchema: CheckDomainAvailabilityOutput,
|
|
1242
|
+
}));
|
|
1243
|
+
// Input Schema
|
|
1244
|
+
export const CheckSkuAvailabilityInput =
|
|
1245
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1246
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1247
|
+
location: Schema.String.pipe(T.PathParam()),
|
|
1248
|
+
"api-version": Schema.String,
|
|
1249
|
+
}).pipe(T.Http({
|
|
1250
|
+
method: "POST",
|
|
1251
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/checkSkuAvailability",
|
|
1252
|
+
}));
|
|
1253
|
+
// Output Schema
|
|
1254
|
+
export const CheckSkuAvailabilityOutput =
|
|
1255
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1256
|
+
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
1257
|
+
kind: Schema.optional(Schema.String),
|
|
1258
|
+
type: Schema.optional(Schema.String),
|
|
1259
|
+
skuName: Schema.optional(Schema.String),
|
|
1260
|
+
skuAvailable: Schema.optional(Schema.Boolean),
|
|
1261
|
+
reason: Schema.optional(Schema.String),
|
|
1262
|
+
message: Schema.optional(Schema.String),
|
|
1263
|
+
}))),
|
|
1264
|
+
});
|
|
1265
|
+
// The operation
|
|
1266
|
+
/**
|
|
1267
|
+
* Check available SKUs.
|
|
1268
|
+
*
|
|
1269
|
+
* @param api-version - The API version to use for this operation.
|
|
1270
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1271
|
+
* @param location - The name of Azure region.
|
|
1272
|
+
*/
|
|
1273
|
+
export const CheckSkuAvailability = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1274
|
+
inputSchema: CheckSkuAvailabilityInput,
|
|
1275
|
+
outputSchema: CheckSkuAvailabilityOutput,
|
|
1276
|
+
}));
|
|
1277
|
+
// Input Schema
|
|
1278
|
+
export const CommitmentPlansCreateOrUpdateInput =
|
|
1279
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1280
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1281
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1282
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
1283
|
+
commitmentPlanName: Schema.String.pipe(T.PathParam()),
|
|
1284
|
+
"api-version": Schema.String,
|
|
1285
|
+
}).pipe(T.Http({
|
|
1286
|
+
method: "PUT",
|
|
1287
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/commitmentPlans/{commitmentPlanName}",
|
|
1288
|
+
}));
|
|
1289
|
+
// Output Schema
|
|
1290
|
+
export const CommitmentPlansCreateOrUpdateOutput =
|
|
1291
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1292
|
+
id: Schema.optional(Schema.String),
|
|
1293
|
+
name: Schema.optional(Schema.String),
|
|
1294
|
+
type: Schema.optional(Schema.String),
|
|
1295
|
+
systemData: Schema.optional(Schema.Struct({
|
|
1296
|
+
createdBy: Schema.optional(Schema.String),
|
|
1297
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1298
|
+
createdAt: Schema.optional(Schema.String),
|
|
1299
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1300
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1301
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1302
|
+
})),
|
|
1303
|
+
});
|
|
1304
|
+
// The operation
|
|
1305
|
+
/**
|
|
1306
|
+
* Update the state of specified commitmentPlans associated with the Cognitive Services account.
|
|
1307
|
+
*
|
|
1308
|
+
* @param api-version - The API version to use for this operation.
|
|
1309
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1310
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1311
|
+
* @param accountName - The name of Cognitive Services account.
|
|
1312
|
+
* @param commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account
|
|
1313
|
+
*/
|
|
1314
|
+
export const CommitmentPlansCreateOrUpdate =
|
|
1315
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1316
|
+
inputSchema: CommitmentPlansCreateOrUpdateInput,
|
|
1317
|
+
outputSchema: CommitmentPlansCreateOrUpdateOutput,
|
|
1318
|
+
}));
|
|
1319
|
+
// Input Schema
|
|
1320
|
+
export const CommitmentPlansCreateOrUpdateAssociationInput =
|
|
1321
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1322
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1323
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1324
|
+
commitmentPlanName: Schema.String.pipe(T.PathParam()),
|
|
1325
|
+
commitmentPlanAssociationName: Schema.String.pipe(T.PathParam()),
|
|
1326
|
+
"api-version": Schema.String,
|
|
1327
|
+
}).pipe(T.Http({
|
|
1328
|
+
method: "PUT",
|
|
632
1329
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}/accountAssociations/{commitmentPlanAssociationName}",
|
|
633
1330
|
}));
|
|
634
1331
|
// Output Schema
|
|
@@ -638,9 +1335,11 @@ export const CommitmentPlansCreateOrUpdateAssociationOutput =
|
|
|
638
1335
|
/**
|
|
639
1336
|
* Create or update the association of the Cognitive Services commitment plan.
|
|
640
1337
|
*
|
|
641
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
642
1338
|
* @param api-version - The API version to use for this operation.
|
|
643
1339
|
* @param subscriptionId - The ID of the target subscription.
|
|
1340
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1341
|
+
* @param commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account
|
|
1342
|
+
* @param commitmentPlanAssociationName - The name of the commitment plan association with the Cognitive Services Account
|
|
644
1343
|
*/
|
|
645
1344
|
export const CommitmentPlansCreateOrUpdateAssociation =
|
|
646
1345
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -650,8 +1349,9 @@ export const CommitmentPlansCreateOrUpdateAssociation =
|
|
|
650
1349
|
// Input Schema
|
|
651
1350
|
export const CommitmentPlansCreateOrUpdatePlanInput =
|
|
652
1351
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
653
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
654
1352
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1353
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1354
|
+
commitmentPlanName: Schema.String.pipe(T.PathParam()),
|
|
655
1355
|
"api-version": Schema.String,
|
|
656
1356
|
}).pipe(T.Http({
|
|
657
1357
|
method: "PUT",
|
|
@@ -659,14 +1359,27 @@ export const CommitmentPlansCreateOrUpdatePlanInput =
|
|
|
659
1359
|
}));
|
|
660
1360
|
// Output Schema
|
|
661
1361
|
export const CommitmentPlansCreateOrUpdatePlanOutput =
|
|
662
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1362
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1363
|
+
id: Schema.optional(Schema.String),
|
|
1364
|
+
name: Schema.optional(Schema.String),
|
|
1365
|
+
type: Schema.optional(Schema.String),
|
|
1366
|
+
systemData: Schema.optional(Schema.Struct({
|
|
1367
|
+
createdBy: Schema.optional(Schema.String),
|
|
1368
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1369
|
+
createdAt: Schema.optional(Schema.String),
|
|
1370
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1371
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1372
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1373
|
+
})),
|
|
1374
|
+
});
|
|
663
1375
|
// The operation
|
|
664
1376
|
/**
|
|
665
1377
|
* Create Cognitive Services commitment plan.
|
|
666
1378
|
*
|
|
667
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
668
1379
|
* @param api-version - The API version to use for this operation.
|
|
669
1380
|
* @param subscriptionId - The ID of the target subscription.
|
|
1381
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1382
|
+
* @param commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account
|
|
670
1383
|
*/
|
|
671
1384
|
export const CommitmentPlansCreateOrUpdatePlan =
|
|
672
1385
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -676,8 +1389,10 @@ export const CommitmentPlansCreateOrUpdatePlan =
|
|
|
676
1389
|
// Input Schema
|
|
677
1390
|
export const CommitmentPlansDeleteInput =
|
|
678
1391
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
679
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
680
1392
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1393
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1394
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
1395
|
+
commitmentPlanName: Schema.String.pipe(T.PathParam()),
|
|
681
1396
|
"api-version": Schema.String,
|
|
682
1397
|
}).pipe(T.Http({
|
|
683
1398
|
method: "DELETE",
|
|
@@ -690,9 +1405,11 @@ export const CommitmentPlansDeleteOutput =
|
|
|
690
1405
|
/**
|
|
691
1406
|
* Deletes the specified commitmentPlan associated with the Cognitive Services account.
|
|
692
1407
|
*
|
|
693
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
694
1408
|
* @param api-version - The API version to use for this operation.
|
|
695
1409
|
* @param subscriptionId - The ID of the target subscription.
|
|
1410
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1411
|
+
* @param accountName - The name of Cognitive Services account.
|
|
1412
|
+
* @param commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account
|
|
696
1413
|
*/
|
|
697
1414
|
export const CommitmentPlansDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
698
1415
|
inputSchema: CommitmentPlansDeleteInput,
|
|
@@ -701,8 +1418,10 @@ export const CommitmentPlansDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
|
|
|
701
1418
|
// Input Schema
|
|
702
1419
|
export const CommitmentPlansDeleteAssociationInput =
|
|
703
1420
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
704
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
705
1421
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1422
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1423
|
+
commitmentPlanName: Schema.String.pipe(T.PathParam()),
|
|
1424
|
+
commitmentPlanAssociationName: Schema.String.pipe(T.PathParam()),
|
|
706
1425
|
"api-version": Schema.String,
|
|
707
1426
|
}).pipe(T.Http({
|
|
708
1427
|
method: "DELETE",
|
|
@@ -715,9 +1434,11 @@ export const CommitmentPlansDeleteAssociationOutput =
|
|
|
715
1434
|
/**
|
|
716
1435
|
* Deletes the association of the Cognitive Services commitment plan.
|
|
717
1436
|
*
|
|
718
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
719
1437
|
* @param api-version - The API version to use for this operation.
|
|
720
1438
|
* @param subscriptionId - The ID of the target subscription.
|
|
1439
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1440
|
+
* @param commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account
|
|
1441
|
+
* @param commitmentPlanAssociationName - The name of the commitment plan association with the Cognitive Services Account
|
|
721
1442
|
*/
|
|
722
1443
|
export const CommitmentPlansDeleteAssociation =
|
|
723
1444
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -727,8 +1448,9 @@ export const CommitmentPlansDeleteAssociation =
|
|
|
727
1448
|
// Input Schema
|
|
728
1449
|
export const CommitmentPlansDeletePlanInput =
|
|
729
1450
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
730
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
731
1451
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1452
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1453
|
+
commitmentPlanName: Schema.String.pipe(T.PathParam()),
|
|
732
1454
|
"api-version": Schema.String,
|
|
733
1455
|
}).pipe(T.Http({
|
|
734
1456
|
method: "DELETE",
|
|
@@ -741,9 +1463,10 @@ export const CommitmentPlansDeletePlanOutput =
|
|
|
741
1463
|
/**
|
|
742
1464
|
* Deletes a Cognitive Services commitment plan from the resource group.
|
|
743
1465
|
*
|
|
744
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
745
1466
|
* @param api-version - The API version to use for this operation.
|
|
746
1467
|
* @param subscriptionId - The ID of the target subscription.
|
|
1468
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1469
|
+
* @param commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account
|
|
747
1470
|
*/
|
|
748
1471
|
export const CommitmentPlansDeletePlan = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
749
1472
|
inputSchema: CommitmentPlansDeletePlanInput,
|
|
@@ -752,8 +1475,10 @@ export const CommitmentPlansDeletePlan = /*@__PURE__*/ /*#__PURE__*/ API.make(()
|
|
|
752
1475
|
// Input Schema
|
|
753
1476
|
export const CommitmentPlansGetInput =
|
|
754
1477
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
755
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
756
1478
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1479
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1480
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
1481
|
+
commitmentPlanName: Schema.String.pipe(T.PathParam()),
|
|
757
1482
|
"api-version": Schema.String,
|
|
758
1483
|
}).pipe(T.Http({
|
|
759
1484
|
method: "GET",
|
|
@@ -761,14 +1486,28 @@ export const CommitmentPlansGetInput =
|
|
|
761
1486
|
}));
|
|
762
1487
|
// Output Schema
|
|
763
1488
|
export const CommitmentPlansGetOutput =
|
|
764
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1489
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1490
|
+
id: Schema.optional(Schema.String),
|
|
1491
|
+
name: Schema.optional(Schema.String),
|
|
1492
|
+
type: Schema.optional(Schema.String),
|
|
1493
|
+
systemData: Schema.optional(Schema.Struct({
|
|
1494
|
+
createdBy: Schema.optional(Schema.String),
|
|
1495
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1496
|
+
createdAt: Schema.optional(Schema.String),
|
|
1497
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1498
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1499
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1500
|
+
})),
|
|
1501
|
+
});
|
|
765
1502
|
// The operation
|
|
766
1503
|
/**
|
|
767
1504
|
* Gets the specified commitmentPlans associated with the Cognitive Services account.
|
|
768
1505
|
*
|
|
769
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
770
1506
|
* @param api-version - The API version to use for this operation.
|
|
771
1507
|
* @param subscriptionId - The ID of the target subscription.
|
|
1508
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1509
|
+
* @param accountName - The name of Cognitive Services account.
|
|
1510
|
+
* @param commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account
|
|
772
1511
|
*/
|
|
773
1512
|
export const CommitmentPlansGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
774
1513
|
inputSchema: CommitmentPlansGetInput,
|
|
@@ -777,8 +1516,10 @@ export const CommitmentPlansGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
777
1516
|
// Input Schema
|
|
778
1517
|
export const CommitmentPlansGetAssociationInput =
|
|
779
1518
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
780
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
781
1519
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1520
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1521
|
+
commitmentPlanName: Schema.String.pipe(T.PathParam()),
|
|
1522
|
+
commitmentPlanAssociationName: Schema.String.pipe(T.PathParam()),
|
|
782
1523
|
"api-version": Schema.String,
|
|
783
1524
|
}).pipe(T.Http({
|
|
784
1525
|
method: "GET",
|
|
@@ -791,9 +1532,11 @@ export const CommitmentPlansGetAssociationOutput =
|
|
|
791
1532
|
/**
|
|
792
1533
|
* Gets the association of the Cognitive Services commitment plan.
|
|
793
1534
|
*
|
|
794
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
795
1535
|
* @param api-version - The API version to use for this operation.
|
|
796
1536
|
* @param subscriptionId - The ID of the target subscription.
|
|
1537
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1538
|
+
* @param commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account
|
|
1539
|
+
* @param commitmentPlanAssociationName - The name of the commitment plan association with the Cognitive Services Account
|
|
797
1540
|
*/
|
|
798
1541
|
export const CommitmentPlansGetAssociation =
|
|
799
1542
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -803,8 +1546,9 @@ export const CommitmentPlansGetAssociation =
|
|
|
803
1546
|
// Input Schema
|
|
804
1547
|
export const CommitmentPlansGetPlanInput =
|
|
805
1548
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
806
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
807
1549
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1550
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1551
|
+
commitmentPlanName: Schema.String.pipe(T.PathParam()),
|
|
808
1552
|
"api-version": Schema.String,
|
|
809
1553
|
}).pipe(T.Http({
|
|
810
1554
|
method: "GET",
|
|
@@ -812,14 +1556,27 @@ export const CommitmentPlansGetPlanInput =
|
|
|
812
1556
|
}));
|
|
813
1557
|
// Output Schema
|
|
814
1558
|
export const CommitmentPlansGetPlanOutput =
|
|
815
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1559
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1560
|
+
id: Schema.optional(Schema.String),
|
|
1561
|
+
name: Schema.optional(Schema.String),
|
|
1562
|
+
type: Schema.optional(Schema.String),
|
|
1563
|
+
systemData: Schema.optional(Schema.Struct({
|
|
1564
|
+
createdBy: Schema.optional(Schema.String),
|
|
1565
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1566
|
+
createdAt: Schema.optional(Schema.String),
|
|
1567
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1568
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1569
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1570
|
+
})),
|
|
1571
|
+
});
|
|
816
1572
|
// The operation
|
|
817
1573
|
/**
|
|
818
1574
|
* Returns a Cognitive Services commitment plan specified by the parameters.
|
|
819
1575
|
*
|
|
820
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
821
1576
|
* @param api-version - The API version to use for this operation.
|
|
822
1577
|
* @param subscriptionId - The ID of the target subscription.
|
|
1578
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1579
|
+
* @param commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account
|
|
823
1580
|
*/
|
|
824
1581
|
export const CommitmentPlansGetPlan = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
825
1582
|
inputSchema: CommitmentPlansGetPlanInput,
|
|
@@ -828,8 +1585,9 @@ export const CommitmentPlansGetPlan = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
|
|
|
828
1585
|
// Input Schema
|
|
829
1586
|
export const CommitmentPlansListInput =
|
|
830
1587
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
831
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
832
1588
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1589
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1590
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
833
1591
|
"api-version": Schema.String,
|
|
834
1592
|
}).pipe(T.Http({
|
|
835
1593
|
method: "GET",
|
|
@@ -839,15 +1597,38 @@ export const CommitmentPlansListInput =
|
|
|
839
1597
|
export const CommitmentPlansListOutput =
|
|
840
1598
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
841
1599
|
nextLink: Schema.optional(Schema.String),
|
|
842
|
-
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
1600
|
+
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
1601
|
+
id: Schema.optional(Schema.String),
|
|
1602
|
+
name: Schema.optional(Schema.String),
|
|
1603
|
+
type: Schema.optional(Schema.String),
|
|
1604
|
+
systemData: Schema.optional(Schema.Struct({
|
|
1605
|
+
createdBy: Schema.optional(Schema.String),
|
|
1606
|
+
createdByType: Schema.optional(Schema.Literals([
|
|
1607
|
+
"User",
|
|
1608
|
+
"Application",
|
|
1609
|
+
"ManagedIdentity",
|
|
1610
|
+
"Key",
|
|
1611
|
+
])),
|
|
1612
|
+
createdAt: Schema.optional(Schema.String),
|
|
1613
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1614
|
+
lastModifiedByType: Schema.optional(Schema.Literals([
|
|
1615
|
+
"User",
|
|
1616
|
+
"Application",
|
|
1617
|
+
"ManagedIdentity",
|
|
1618
|
+
"Key",
|
|
1619
|
+
])),
|
|
1620
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1621
|
+
})),
|
|
1622
|
+
}))),
|
|
843
1623
|
});
|
|
844
1624
|
// The operation
|
|
845
1625
|
/**
|
|
846
1626
|
* Gets the commitmentPlans associated with the Cognitive Services account.
|
|
847
1627
|
*
|
|
848
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
849
1628
|
* @param api-version - The API version to use for this operation.
|
|
850
1629
|
* @param subscriptionId - The ID of the target subscription.
|
|
1630
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1631
|
+
* @param accountName - The name of Cognitive Services account.
|
|
851
1632
|
*/
|
|
852
1633
|
export const CommitmentPlansList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
853
1634
|
inputSchema: CommitmentPlansListInput,
|
|
@@ -856,8 +1637,9 @@ export const CommitmentPlansList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
856
1637
|
// Input Schema
|
|
857
1638
|
export const CommitmentPlansListAssociationsInput =
|
|
858
1639
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
859
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
860
1640
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1641
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1642
|
+
commitmentPlanName: Schema.String.pipe(T.PathParam()),
|
|
861
1643
|
"api-version": Schema.String,
|
|
862
1644
|
}).pipe(T.Http({
|
|
863
1645
|
method: "GET",
|
|
@@ -873,9 +1655,10 @@ export const CommitmentPlansListAssociationsOutput =
|
|
|
873
1655
|
/**
|
|
874
1656
|
* Gets the associations of the Cognitive Services commitment plan.
|
|
875
1657
|
*
|
|
876
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
877
1658
|
* @param api-version - The API version to use for this operation.
|
|
878
1659
|
* @param subscriptionId - The ID of the target subscription.
|
|
1660
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1661
|
+
* @param commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account
|
|
879
1662
|
*/
|
|
880
1663
|
export const CommitmentPlansListAssociations =
|
|
881
1664
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -885,8 +1668,8 @@ export const CommitmentPlansListAssociations =
|
|
|
885
1668
|
// Input Schema
|
|
886
1669
|
export const CommitmentPlansListPlansByResourceGroupInput =
|
|
887
1670
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
888
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
889
1671
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1672
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
890
1673
|
"api-version": Schema.String,
|
|
891
1674
|
}).pipe(T.Http({
|
|
892
1675
|
method: "GET",
|
|
@@ -896,15 +1679,37 @@ export const CommitmentPlansListPlansByResourceGroupInput =
|
|
|
896
1679
|
export const CommitmentPlansListPlansByResourceGroupOutput =
|
|
897
1680
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
898
1681
|
nextLink: Schema.optional(Schema.String),
|
|
899
|
-
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
1682
|
+
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
1683
|
+
id: Schema.optional(Schema.String),
|
|
1684
|
+
name: Schema.optional(Schema.String),
|
|
1685
|
+
type: Schema.optional(Schema.String),
|
|
1686
|
+
systemData: Schema.optional(Schema.Struct({
|
|
1687
|
+
createdBy: Schema.optional(Schema.String),
|
|
1688
|
+
createdByType: Schema.optional(Schema.Literals([
|
|
1689
|
+
"User",
|
|
1690
|
+
"Application",
|
|
1691
|
+
"ManagedIdentity",
|
|
1692
|
+
"Key",
|
|
1693
|
+
])),
|
|
1694
|
+
createdAt: Schema.optional(Schema.String),
|
|
1695
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1696
|
+
lastModifiedByType: Schema.optional(Schema.Literals([
|
|
1697
|
+
"User",
|
|
1698
|
+
"Application",
|
|
1699
|
+
"ManagedIdentity",
|
|
1700
|
+
"Key",
|
|
1701
|
+
])),
|
|
1702
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1703
|
+
})),
|
|
1704
|
+
}))),
|
|
900
1705
|
});
|
|
901
1706
|
// The operation
|
|
902
1707
|
/**
|
|
903
1708
|
* Returns all the resources of a particular type belonging to a resource group
|
|
904
1709
|
*
|
|
905
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
906
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
907
1710
|
* @param api-version - The API version to use for this operation.
|
|
1711
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1712
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
908
1713
|
*/
|
|
909
1714
|
export const CommitmentPlansListPlansByResourceGroup =
|
|
910
1715
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -924,7 +1729,29 @@ export const CommitmentPlansListPlansBySubscriptionInput =
|
|
|
924
1729
|
export const CommitmentPlansListPlansBySubscriptionOutput =
|
|
925
1730
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
926
1731
|
nextLink: Schema.optional(Schema.String),
|
|
927
|
-
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
1732
|
+
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
1733
|
+
id: Schema.optional(Schema.String),
|
|
1734
|
+
name: Schema.optional(Schema.String),
|
|
1735
|
+
type: Schema.optional(Schema.String),
|
|
1736
|
+
systemData: Schema.optional(Schema.Struct({
|
|
1737
|
+
createdBy: Schema.optional(Schema.String),
|
|
1738
|
+
createdByType: Schema.optional(Schema.Literals([
|
|
1739
|
+
"User",
|
|
1740
|
+
"Application",
|
|
1741
|
+
"ManagedIdentity",
|
|
1742
|
+
"Key",
|
|
1743
|
+
])),
|
|
1744
|
+
createdAt: Schema.optional(Schema.String),
|
|
1745
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1746
|
+
lastModifiedByType: Schema.optional(Schema.Literals([
|
|
1747
|
+
"User",
|
|
1748
|
+
"Application",
|
|
1749
|
+
"ManagedIdentity",
|
|
1750
|
+
"Key",
|
|
1751
|
+
])),
|
|
1752
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1753
|
+
})),
|
|
1754
|
+
}))),
|
|
928
1755
|
});
|
|
929
1756
|
// The operation
|
|
930
1757
|
/**
|
|
@@ -941,8 +1768,9 @@ export const CommitmentPlansListPlansBySubscription =
|
|
|
941
1768
|
// Input Schema
|
|
942
1769
|
export const CommitmentPlansUpdatePlanInput =
|
|
943
1770
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
944
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
945
1771
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1772
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1773
|
+
commitmentPlanName: Schema.String.pipe(T.PathParam()),
|
|
946
1774
|
"api-version": Schema.String,
|
|
947
1775
|
}).pipe(T.Http({
|
|
948
1776
|
method: "PATCH",
|
|
@@ -950,14 +1778,27 @@ export const CommitmentPlansUpdatePlanInput =
|
|
|
950
1778
|
}));
|
|
951
1779
|
// Output Schema
|
|
952
1780
|
export const CommitmentPlansUpdatePlanOutput =
|
|
953
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1781
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1782
|
+
id: Schema.optional(Schema.String),
|
|
1783
|
+
name: Schema.optional(Schema.String),
|
|
1784
|
+
type: Schema.optional(Schema.String),
|
|
1785
|
+
systemData: Schema.optional(Schema.Struct({
|
|
1786
|
+
createdBy: Schema.optional(Schema.String),
|
|
1787
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1788
|
+
createdAt: Schema.optional(Schema.String),
|
|
1789
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1790
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1791
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1792
|
+
})),
|
|
1793
|
+
});
|
|
954
1794
|
// The operation
|
|
955
1795
|
/**
|
|
956
1796
|
* Create Cognitive Services commitment plan.
|
|
957
1797
|
*
|
|
958
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
959
1798
|
* @param api-version - The API version to use for this operation.
|
|
960
1799
|
* @param subscriptionId - The ID of the target subscription.
|
|
1800
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1801
|
+
* @param commitmentPlanName - The name of the commitmentPlan associated with the Cognitive Services Account
|
|
961
1802
|
*/
|
|
962
1803
|
export const CommitmentPlansUpdatePlan = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
963
1804
|
inputSchema: CommitmentPlansUpdatePlanInput,
|
|
@@ -967,6 +1808,7 @@ export const CommitmentPlansUpdatePlan = /*@__PURE__*/ /*#__PURE__*/ API.make(()
|
|
|
967
1808
|
export const CommitmentTiersListInput =
|
|
968
1809
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
969
1810
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1811
|
+
location: Schema.String.pipe(T.PathParam()),
|
|
970
1812
|
"api-version": Schema.String,
|
|
971
1813
|
}).pipe(T.Http({
|
|
972
1814
|
method: "GET",
|
|
@@ -1002,8 +1844,9 @@ export const CommitmentTiersListOutput =
|
|
|
1002
1844
|
/**
|
|
1003
1845
|
* List Commitment Tiers.
|
|
1004
1846
|
*
|
|
1005
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
1006
1847
|
* @param api-version - The API version to use for this operation.
|
|
1848
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1849
|
+
* @param location - The name of Azure region.
|
|
1007
1850
|
*/
|
|
1008
1851
|
export const CommitmentTiersList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1009
1852
|
inputSchema: CommitmentTiersListInput,
|
|
@@ -1012,8 +1855,10 @@ export const CommitmentTiersList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1012
1855
|
// Input Schema
|
|
1013
1856
|
export const DefenderForAISettingsCreateOrUpdateInput =
|
|
1014
1857
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1015
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1016
1858
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1859
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1860
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
1861
|
+
defenderForAISettingName: Schema.String.pipe(T.PathParam()),
|
|
1017
1862
|
"api-version": Schema.String,
|
|
1018
1863
|
}).pipe(T.Http({
|
|
1019
1864
|
method: "PUT",
|
|
@@ -1026,9 +1871,11 @@ export const DefenderForAISettingsCreateOrUpdateOutput =
|
|
|
1026
1871
|
/**
|
|
1027
1872
|
* Creates or Updates the specified Defender for AI setting.
|
|
1028
1873
|
*
|
|
1029
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1030
1874
|
* @param api-version - The API version to use for this operation.
|
|
1031
1875
|
* @param subscriptionId - The ID of the target subscription.
|
|
1876
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1877
|
+
* @param accountName - The name of Cognitive Services account.
|
|
1878
|
+
* @param defenderForAISettingName - The name of the defender for AI setting.
|
|
1032
1879
|
*/
|
|
1033
1880
|
export const DefenderForAISettingsCreateOrUpdate =
|
|
1034
1881
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -1038,8 +1885,10 @@ export const DefenderForAISettingsCreateOrUpdate =
|
|
|
1038
1885
|
// Input Schema
|
|
1039
1886
|
export const DefenderForAISettingsGetInput =
|
|
1040
1887
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1041
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1042
1888
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1889
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1890
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
1891
|
+
defenderForAISettingName: Schema.String.pipe(T.PathParam()),
|
|
1043
1892
|
"api-version": Schema.String,
|
|
1044
1893
|
}).pipe(T.Http({
|
|
1045
1894
|
method: "GET",
|
|
@@ -1052,9 +1901,11 @@ export const DefenderForAISettingsGetOutput =
|
|
|
1052
1901
|
/**
|
|
1053
1902
|
* Gets the specified Defender for AI setting by name.
|
|
1054
1903
|
*
|
|
1055
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1056
1904
|
* @param api-version - The API version to use for this operation.
|
|
1057
1905
|
* @param subscriptionId - The ID of the target subscription.
|
|
1906
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1907
|
+
* @param accountName - The name of Cognitive Services account.
|
|
1908
|
+
* @param defenderForAISettingName - The name of the defender for AI setting.
|
|
1058
1909
|
*/
|
|
1059
1910
|
export const DefenderForAISettingsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1060
1911
|
inputSchema: DefenderForAISettingsGetInput,
|
|
@@ -1063,8 +1914,9 @@ export const DefenderForAISettingsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(()
|
|
|
1063
1914
|
// Input Schema
|
|
1064
1915
|
export const DefenderForAISettingsListInput =
|
|
1065
1916
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1066
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1067
1917
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1918
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1919
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
1068
1920
|
"api-version": Schema.String,
|
|
1069
1921
|
}).pipe(T.Http({
|
|
1070
1922
|
method: "GET",
|
|
@@ -1080,9 +1932,10 @@ export const DefenderForAISettingsListOutput =
|
|
|
1080
1932
|
/**
|
|
1081
1933
|
* Lists the Defender for AI settings.
|
|
1082
1934
|
*
|
|
1083
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1084
1935
|
* @param api-version - The API version to use for this operation.
|
|
1085
1936
|
* @param subscriptionId - The ID of the target subscription.
|
|
1937
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1938
|
+
* @param accountName - The name of Cognitive Services account.
|
|
1086
1939
|
*/
|
|
1087
1940
|
export const DefenderForAISettingsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1088
1941
|
inputSchema: DefenderForAISettingsListInput,
|
|
@@ -1091,8 +1944,10 @@ export const DefenderForAISettingsList = /*@__PURE__*/ /*#__PURE__*/ API.make(()
|
|
|
1091
1944
|
// Input Schema
|
|
1092
1945
|
export const DefenderForAISettingsUpdateInput =
|
|
1093
1946
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1094
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1095
1947
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1948
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1949
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
1950
|
+
defenderForAISettingName: Schema.String.pipe(T.PathParam()),
|
|
1096
1951
|
"api-version": Schema.String,
|
|
1097
1952
|
}).pipe(T.Http({
|
|
1098
1953
|
method: "PATCH",
|
|
@@ -1105,9 +1960,11 @@ export const DefenderForAISettingsUpdateOutput =
|
|
|
1105
1960
|
/**
|
|
1106
1961
|
* Updates the specified Defender for AI setting.
|
|
1107
1962
|
*
|
|
1108
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1109
1963
|
* @param api-version - The API version to use for this operation.
|
|
1110
1964
|
* @param subscriptionId - The ID of the target subscription.
|
|
1965
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1966
|
+
* @param accountName - The name of Cognitive Services account.
|
|
1967
|
+
* @param defenderForAISettingName - The name of the defender for AI setting.
|
|
1111
1968
|
*/
|
|
1112
1969
|
export const DefenderForAISettingsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1113
1970
|
inputSchema: DefenderForAISettingsUpdateInput,
|
|
@@ -1116,8 +1973,10 @@ export const DefenderForAISettingsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
1116
1973
|
// Input Schema
|
|
1117
1974
|
export const DeletedAccountsGetInput =
|
|
1118
1975
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1119
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1120
1976
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1977
|
+
location: Schema.String.pipe(T.PathParam()),
|
|
1978
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1979
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
1121
1980
|
"api-version": Schema.String,
|
|
1122
1981
|
}).pipe(T.Http({
|
|
1123
1982
|
method: "GET",
|
|
@@ -1126,15 +1985,27 @@ export const DeletedAccountsGetInput =
|
|
|
1126
1985
|
// Output Schema
|
|
1127
1986
|
export const DeletedAccountsGetOutput =
|
|
1128
1987
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1129
|
-
|
|
1988
|
+
id: Schema.optional(Schema.String),
|
|
1989
|
+
name: Schema.optional(Schema.String),
|
|
1990
|
+
type: Schema.optional(Schema.String),
|
|
1991
|
+
systemData: Schema.optional(Schema.Struct({
|
|
1992
|
+
createdBy: Schema.optional(Schema.String),
|
|
1993
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1994
|
+
createdAt: Schema.optional(Schema.String),
|
|
1995
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
1996
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
1997
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
1998
|
+
})),
|
|
1130
1999
|
});
|
|
1131
2000
|
// The operation
|
|
1132
2001
|
/**
|
|
1133
2002
|
* Returns a Cognitive Services account specified by the parameters.
|
|
1134
2003
|
*
|
|
1135
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1136
2004
|
* @param api-version - The API version to use for this operation.
|
|
1137
2005
|
* @param subscriptionId - The ID of the target subscription.
|
|
2006
|
+
* @param location - The name of Azure region.
|
|
2007
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2008
|
+
* @param accountName - The name of Cognitive Services account.
|
|
1138
2009
|
*/
|
|
1139
2010
|
export const DeletedAccountsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1140
2011
|
inputSchema: DeletedAccountsGetInput,
|
|
@@ -1154,7 +2025,27 @@ export const DeletedAccountsListOutput =
|
|
|
1154
2025
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1155
2026
|
nextLink: Schema.optional(Schema.String),
|
|
1156
2027
|
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
1157
|
-
|
|
2028
|
+
id: Schema.optional(Schema.String),
|
|
2029
|
+
name: Schema.optional(Schema.String),
|
|
2030
|
+
type: Schema.optional(Schema.String),
|
|
2031
|
+
systemData: Schema.optional(Schema.Struct({
|
|
2032
|
+
createdBy: Schema.optional(Schema.String),
|
|
2033
|
+
createdByType: Schema.optional(Schema.Literals([
|
|
2034
|
+
"User",
|
|
2035
|
+
"Application",
|
|
2036
|
+
"ManagedIdentity",
|
|
2037
|
+
"Key",
|
|
2038
|
+
])),
|
|
2039
|
+
createdAt: Schema.optional(Schema.String),
|
|
2040
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
2041
|
+
lastModifiedByType: Schema.optional(Schema.Literals([
|
|
2042
|
+
"User",
|
|
2043
|
+
"Application",
|
|
2044
|
+
"ManagedIdentity",
|
|
2045
|
+
"Key",
|
|
2046
|
+
])),
|
|
2047
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
2048
|
+
})),
|
|
1158
2049
|
}))),
|
|
1159
2050
|
});
|
|
1160
2051
|
// The operation
|
|
@@ -1171,8 +2062,10 @@ export const DeletedAccountsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1171
2062
|
// Input Schema
|
|
1172
2063
|
export const DeletedAccountsPurgeInput =
|
|
1173
2064
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1174
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1175
2065
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2066
|
+
location: Schema.String.pipe(T.PathParam()),
|
|
2067
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2068
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
1176
2069
|
"api-version": Schema.String,
|
|
1177
2070
|
}).pipe(T.Http({
|
|
1178
2071
|
method: "DELETE",
|
|
@@ -1185,9 +2078,11 @@ export const DeletedAccountsPurgeOutput =
|
|
|
1185
2078
|
/**
|
|
1186
2079
|
* Deletes a Cognitive Services account from the resource group.
|
|
1187
2080
|
*
|
|
1188
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1189
2081
|
* @param api-version - The API version to use for this operation.
|
|
1190
2082
|
* @param subscriptionId - The ID of the target subscription.
|
|
2083
|
+
* @param location - The name of Azure region.
|
|
2084
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2085
|
+
* @param accountName - The name of Cognitive Services account.
|
|
1191
2086
|
*/
|
|
1192
2087
|
export const DeletedAccountsPurge = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1193
2088
|
inputSchema: DeletedAccountsPurgeInput,
|
|
@@ -1196,8 +2091,10 @@ export const DeletedAccountsPurge = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
1196
2091
|
// Input Schema
|
|
1197
2092
|
export const DeploymentsCreateOrUpdateInput =
|
|
1198
2093
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1199
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1200
2094
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2095
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2096
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2097
|
+
deploymentName: Schema.String.pipe(T.PathParam()),
|
|
1201
2098
|
"api-version": Schema.String,
|
|
1202
2099
|
}).pipe(T.Http({
|
|
1203
2100
|
method: "PUT",
|
|
@@ -1210,9 +2107,11 @@ export const DeploymentsCreateOrUpdateOutput =
|
|
|
1210
2107
|
/**
|
|
1211
2108
|
* Update the state of specified deployments associated with the Cognitive Services account.
|
|
1212
2109
|
*
|
|
1213
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1214
2110
|
* @param api-version - The API version to use for this operation.
|
|
1215
2111
|
* @param subscriptionId - The ID of the target subscription.
|
|
2112
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2113
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2114
|
+
* @param deploymentName - The name of the deployment associated with the Cognitive Services Account
|
|
1216
2115
|
*/
|
|
1217
2116
|
export const DeploymentsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1218
2117
|
inputSchema: DeploymentsCreateOrUpdateInput,
|
|
@@ -1220,8 +2119,10 @@ export const DeploymentsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(()
|
|
|
1220
2119
|
}));
|
|
1221
2120
|
// Input Schema
|
|
1222
2121
|
export const DeploymentsDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1223
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1224
2122
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2123
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2124
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2125
|
+
deploymentName: Schema.String.pipe(T.PathParam()),
|
|
1225
2126
|
"api-version": Schema.String,
|
|
1226
2127
|
}).pipe(T.Http({
|
|
1227
2128
|
method: "DELETE",
|
|
@@ -1233,9 +2134,11 @@ export const DeploymentsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
|
1233
2134
|
/**
|
|
1234
2135
|
* Deletes the specified deployment associated with the Cognitive Services account.
|
|
1235
2136
|
*
|
|
1236
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1237
2137
|
* @param api-version - The API version to use for this operation.
|
|
1238
2138
|
* @param subscriptionId - The ID of the target subscription.
|
|
2139
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2140
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2141
|
+
* @param deploymentName - The name of the deployment associated with the Cognitive Services Account
|
|
1239
2142
|
*/
|
|
1240
2143
|
export const DeploymentsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1241
2144
|
inputSchema: DeploymentsDeleteInput,
|
|
@@ -1243,8 +2146,10 @@ export const DeploymentsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1243
2146
|
}));
|
|
1244
2147
|
// Input Schema
|
|
1245
2148
|
export const DeploymentsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1246
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1247
2149
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2150
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2151
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2152
|
+
deploymentName: Schema.String.pipe(T.PathParam()),
|
|
1248
2153
|
"api-version": Schema.String,
|
|
1249
2154
|
}).pipe(T.Http({
|
|
1250
2155
|
method: "GET",
|
|
@@ -1256,9 +2161,11 @@ export const DeploymentsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}
|
|
|
1256
2161
|
/**
|
|
1257
2162
|
* Gets the specified deployments associated with the Cognitive Services account.
|
|
1258
2163
|
*
|
|
1259
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1260
2164
|
* @param api-version - The API version to use for this operation.
|
|
1261
2165
|
* @param subscriptionId - The ID of the target subscription.
|
|
2166
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2167
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2168
|
+
* @param deploymentName - The name of the deployment associated with the Cognitive Services Account
|
|
1262
2169
|
*/
|
|
1263
2170
|
export const DeploymentsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1264
2171
|
inputSchema: DeploymentsGetInput,
|
|
@@ -1266,8 +2173,9 @@ export const DeploymentsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1266
2173
|
}));
|
|
1267
2174
|
// Input Schema
|
|
1268
2175
|
export const DeploymentsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1269
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1270
2176
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2177
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2178
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
1271
2179
|
"api-version": Schema.String,
|
|
1272
2180
|
}).pipe(T.Http({
|
|
1273
2181
|
method: "GET",
|
|
@@ -1282,9 +2190,10 @@ export const DeploymentsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1282
2190
|
/**
|
|
1283
2191
|
* Gets the deployments associated with the Cognitive Services account.
|
|
1284
2192
|
*
|
|
1285
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1286
2193
|
* @param api-version - The API version to use for this operation.
|
|
1287
2194
|
* @param subscriptionId - The ID of the target subscription.
|
|
2195
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2196
|
+
* @param accountName - The name of Cognitive Services account.
|
|
1288
2197
|
*/
|
|
1289
2198
|
export const DeploymentsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1290
2199
|
inputSchema: DeploymentsListInput,
|
|
@@ -1293,8 +2202,10 @@ export const DeploymentsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1293
2202
|
// Input Schema
|
|
1294
2203
|
export const DeploymentsListSkusInput =
|
|
1295
2204
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1296
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1297
2205
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2206
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2207
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2208
|
+
deploymentName: Schema.String.pipe(T.PathParam()),
|
|
1298
2209
|
"api-version": Schema.String,
|
|
1299
2210
|
}).pipe(T.Http({
|
|
1300
2211
|
method: "GET",
|
|
@@ -1332,18 +2243,81 @@ export const DeploymentsListSkusOutput =
|
|
|
1332
2243
|
/**
|
|
1333
2244
|
* Lists the specified deployments skus associated with the Cognitive Services account.
|
|
1334
2245
|
*
|
|
2246
|
+
* @param api-version - The API version to use for this operation.
|
|
2247
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
2248
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2249
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2250
|
+
* @param deploymentName - The name of the deployment associated with the Cognitive Services Account
|
|
2251
|
+
*/
|
|
2252
|
+
export const DeploymentsListSkus = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2253
|
+
inputSchema: DeploymentsListSkusInput,
|
|
2254
|
+
outputSchema: DeploymentsListSkusOutput,
|
|
2255
|
+
}));
|
|
2256
|
+
// Input Schema
|
|
2257
|
+
export const DeploymentsPauseInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2258
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2259
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2260
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2261
|
+
deploymentName: Schema.String.pipe(T.PathParam()),
|
|
2262
|
+
"api-version": Schema.String,
|
|
2263
|
+
}).pipe(T.Http({
|
|
2264
|
+
method: "POST",
|
|
2265
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}/pause",
|
|
2266
|
+
}));
|
|
2267
|
+
// Output Schema
|
|
2268
|
+
export const DeploymentsPauseOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
2269
|
+
// The operation
|
|
2270
|
+
/**
|
|
2271
|
+
* Pause a deployment
|
|
2272
|
+
*
|
|
2273
|
+
* Pauses inferencing on a deployment by setting the deploymentState to 'Paused' (see #/definitions/DeploymentProperties/properties/deploymentState). Only Standard, DataZoneStandard, and GlobalStandard SKUs support this operation. Inference requests to the paused deployment endpoint will receive HTTP 423 (Locked). This operation is idempotent.
|
|
2274
|
+
*
|
|
2275
|
+
* @param api-version - The API version to use for this operation.
|
|
2276
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
1335
2277
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2278
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2279
|
+
* @param deploymentName - The name of the deployment associated with the Cognitive Services Account
|
|
2280
|
+
*/
|
|
2281
|
+
export const DeploymentsPause = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2282
|
+
inputSchema: DeploymentsPauseInput,
|
|
2283
|
+
outputSchema: DeploymentsPauseOutput,
|
|
2284
|
+
}));
|
|
2285
|
+
// Input Schema
|
|
2286
|
+
export const DeploymentsResumeInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2287
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2288
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2289
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2290
|
+
deploymentName: Schema.String.pipe(T.PathParam()),
|
|
2291
|
+
"api-version": Schema.String,
|
|
2292
|
+
}).pipe(T.Http({
|
|
2293
|
+
method: "POST",
|
|
2294
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments/{deploymentName}/resume",
|
|
2295
|
+
}));
|
|
2296
|
+
// Output Schema
|
|
2297
|
+
export const DeploymentsResumeOutput =
|
|
2298
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
2299
|
+
// The operation
|
|
2300
|
+
/**
|
|
2301
|
+
* Resume a deployment
|
|
2302
|
+
*
|
|
2303
|
+
* Resumes inferencing on a previously paused deployment by setting the deploymentState to 'Running' (see #/definitions/DeploymentProperties/properties/deploymentState). This operation is idempotent and can be safely called on already running deployments.
|
|
2304
|
+
*
|
|
1336
2305
|
* @param api-version - The API version to use for this operation.
|
|
1337
2306
|
* @param subscriptionId - The ID of the target subscription.
|
|
2307
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2308
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2309
|
+
* @param deploymentName - The name of the deployment associated with the Cognitive Services Account
|
|
1338
2310
|
*/
|
|
1339
|
-
export const
|
|
1340
|
-
inputSchema:
|
|
1341
|
-
outputSchema:
|
|
2311
|
+
export const DeploymentsResume = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2312
|
+
inputSchema: DeploymentsResumeInput,
|
|
2313
|
+
outputSchema: DeploymentsResumeOutput,
|
|
1342
2314
|
}));
|
|
1343
2315
|
// Input Schema
|
|
1344
2316
|
export const DeploymentsUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1345
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1346
2317
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2318
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2319
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2320
|
+
deploymentName: Schema.String.pipe(T.PathParam()),
|
|
1347
2321
|
"api-version": Schema.String,
|
|
1348
2322
|
}).pipe(T.Http({
|
|
1349
2323
|
method: "PATCH",
|
|
@@ -1356,9 +2330,11 @@ export const DeploymentsUpdateOutput =
|
|
|
1356
2330
|
/**
|
|
1357
2331
|
* Update specified deployments associated with the Cognitive Services account.
|
|
1358
2332
|
*
|
|
1359
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1360
2333
|
* @param api-version - The API version to use for this operation.
|
|
1361
2334
|
* @param subscriptionId - The ID of the target subscription.
|
|
2335
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2336
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2337
|
+
* @param deploymentName - The name of the deployment associated with the Cognitive Services Account
|
|
1362
2338
|
*/
|
|
1363
2339
|
export const DeploymentsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1364
2340
|
inputSchema: DeploymentsUpdateInput,
|
|
@@ -1367,8 +2343,10 @@ export const DeploymentsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1367
2343
|
// Input Schema
|
|
1368
2344
|
export const EncryptionScopesCreateOrUpdateInput =
|
|
1369
2345
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1370
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1371
2346
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2347
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2348
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2349
|
+
encryptionScopeName: Schema.String.pipe(T.PathParam()),
|
|
1372
2350
|
"api-version": Schema.String,
|
|
1373
2351
|
}).pipe(T.Http({
|
|
1374
2352
|
method: "PUT",
|
|
@@ -1381,9 +2359,11 @@ export const EncryptionScopesCreateOrUpdateOutput =
|
|
|
1381
2359
|
/**
|
|
1382
2360
|
* Update the state of specified encryptionScope associated with the Cognitive Services account.
|
|
1383
2361
|
*
|
|
1384
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1385
2362
|
* @param api-version - The API version to use for this operation.
|
|
1386
2363
|
* @param subscriptionId - The ID of the target subscription.
|
|
2364
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2365
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2366
|
+
* @param encryptionScopeName - The name of the encryptionScope associated with the Cognitive Services Account
|
|
1387
2367
|
*/
|
|
1388
2368
|
export const EncryptionScopesCreateOrUpdate =
|
|
1389
2369
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -1393,8 +2373,10 @@ export const EncryptionScopesCreateOrUpdate =
|
|
|
1393
2373
|
// Input Schema
|
|
1394
2374
|
export const EncryptionScopesDeleteInput =
|
|
1395
2375
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1396
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1397
2376
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2377
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2378
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2379
|
+
encryptionScopeName: Schema.String.pipe(T.PathParam()),
|
|
1398
2380
|
"api-version": Schema.String,
|
|
1399
2381
|
}).pipe(T.Http({
|
|
1400
2382
|
method: "DELETE",
|
|
@@ -1407,9 +2389,11 @@ export const EncryptionScopesDeleteOutput =
|
|
|
1407
2389
|
/**
|
|
1408
2390
|
* Deletes the specified encryptionScope associated with the Cognitive Services account.
|
|
1409
2391
|
*
|
|
1410
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1411
2392
|
* @param api-version - The API version to use for this operation.
|
|
1412
2393
|
* @param subscriptionId - The ID of the target subscription.
|
|
2394
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2395
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2396
|
+
* @param encryptionScopeName - The name of the encryptionScope associated with the Cognitive Services Account
|
|
1413
2397
|
*/
|
|
1414
2398
|
export const EncryptionScopesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1415
2399
|
inputSchema: EncryptionScopesDeleteInput,
|
|
@@ -1418,8 +2402,10 @@ export const EncryptionScopesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
|
|
|
1418
2402
|
// Input Schema
|
|
1419
2403
|
export const EncryptionScopesGetInput =
|
|
1420
2404
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1421
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1422
2405
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2406
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2407
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2408
|
+
encryptionScopeName: Schema.String.pipe(T.PathParam()),
|
|
1423
2409
|
"api-version": Schema.String,
|
|
1424
2410
|
}).pipe(T.Http({
|
|
1425
2411
|
method: "GET",
|
|
@@ -1432,9 +2418,11 @@ export const EncryptionScopesGetOutput =
|
|
|
1432
2418
|
/**
|
|
1433
2419
|
* Gets the specified EncryptionScope associated with the Cognitive Services account.
|
|
1434
2420
|
*
|
|
1435
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1436
2421
|
* @param api-version - The API version to use for this operation.
|
|
1437
2422
|
* @param subscriptionId - The ID of the target subscription.
|
|
2423
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2424
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2425
|
+
* @param encryptionScopeName - The name of the encryptionScope associated with the Cognitive Services Account
|
|
1438
2426
|
*/
|
|
1439
2427
|
export const EncryptionScopesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1440
2428
|
inputSchema: EncryptionScopesGetInput,
|
|
@@ -1443,8 +2431,9 @@ export const EncryptionScopesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1443
2431
|
// Input Schema
|
|
1444
2432
|
export const EncryptionScopesListInput =
|
|
1445
2433
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1446
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1447
2434
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2435
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2436
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
1448
2437
|
"api-version": Schema.String,
|
|
1449
2438
|
}).pipe(T.Http({
|
|
1450
2439
|
method: "GET",
|
|
@@ -1460,9 +2449,10 @@ export const EncryptionScopesListOutput =
|
|
|
1460
2449
|
/**
|
|
1461
2450
|
* Gets the content filters associated with the Azure OpenAI account.
|
|
1462
2451
|
*
|
|
1463
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1464
2452
|
* @param api-version - The API version to use for this operation.
|
|
1465
2453
|
* @param subscriptionId - The ID of the target subscription.
|
|
2454
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2455
|
+
* @param accountName - The name of Cognitive Services account.
|
|
1466
2456
|
*/
|
|
1467
2457
|
export const EncryptionScopesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1468
2458
|
inputSchema: EncryptionScopesListInput,
|
|
@@ -1472,7 +2462,11 @@ export const EncryptionScopesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
1472
2462
|
export const LocationBasedModelCapacitiesListInput =
|
|
1473
2463
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1474
2464
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2465
|
+
location: Schema.String.pipe(T.PathParam()),
|
|
1475
2466
|
"api-version": Schema.String,
|
|
2467
|
+
modelFormat: Schema.String,
|
|
2468
|
+
modelName: Schema.String,
|
|
2469
|
+
modelVersion: Schema.String,
|
|
1476
2470
|
}).pipe(T.Http({
|
|
1477
2471
|
method: "GET",
|
|
1478
2472
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/modelCapacities",
|
|
@@ -1487,8 +2481,12 @@ export const LocationBasedModelCapacitiesListOutput =
|
|
|
1487
2481
|
/**
|
|
1488
2482
|
* List Location Based ModelCapacities.
|
|
1489
2483
|
*
|
|
1490
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
1491
2484
|
* @param api-version - The API version to use for this operation.
|
|
2485
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
2486
|
+
* @param location - The name of Azure region.
|
|
2487
|
+
* @param modelFormat - The format of the Model
|
|
2488
|
+
* @param modelName - The name of the Model
|
|
2489
|
+
* @param modelVersion - The version of the Model
|
|
1492
2490
|
*/
|
|
1493
2491
|
export const LocationBasedModelCapacitiesList =
|
|
1494
2492
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -1496,10 +2494,160 @@ export const LocationBasedModelCapacitiesList =
|
|
|
1496
2494
|
outputSchema: LocationBasedModelCapacitiesListOutput,
|
|
1497
2495
|
}));
|
|
1498
2496
|
// Input Schema
|
|
2497
|
+
export const ManagedNetworkProvisionsProvisionManagedNetworkInput =
|
|
2498
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2499
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2500
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2501
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2502
|
+
"api-version": Schema.String,
|
|
2503
|
+
}).pipe(T.Http({
|
|
2504
|
+
method: "POST",
|
|
2505
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/provisionManagedNetwork",
|
|
2506
|
+
}));
|
|
2507
|
+
// Output Schema
|
|
2508
|
+
export const ManagedNetworkProvisionsProvisionManagedNetworkOutput =
|
|
2509
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2510
|
+
status: Schema.optional(Schema.Literals(["Inactive", "Active"])),
|
|
2511
|
+
});
|
|
2512
|
+
// The operation
|
|
2513
|
+
/**
|
|
2514
|
+
* Provisions the managed network of a cognitive services account.
|
|
2515
|
+
*
|
|
2516
|
+
* @param api-version - The API version to use for this operation.
|
|
2517
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
2518
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2519
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2520
|
+
*/
|
|
2521
|
+
export const ManagedNetworkProvisionsProvisionManagedNetwork =
|
|
2522
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2523
|
+
inputSchema: ManagedNetworkProvisionsProvisionManagedNetworkInput,
|
|
2524
|
+
outputSchema: ManagedNetworkProvisionsProvisionManagedNetworkOutput,
|
|
2525
|
+
}));
|
|
2526
|
+
// Input Schema
|
|
2527
|
+
export const ManagedNetworkSettingsGetInput =
|
|
2528
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2529
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2530
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2531
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2532
|
+
managedNetworkName: Schema.String.pipe(T.PathParam()),
|
|
2533
|
+
"api-version": Schema.String,
|
|
2534
|
+
}).pipe(T.Http({
|
|
2535
|
+
method: "GET",
|
|
2536
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/managedNetworks/{managedNetworkName}",
|
|
2537
|
+
}));
|
|
2538
|
+
// Output Schema
|
|
2539
|
+
export const ManagedNetworkSettingsGetOutput =
|
|
2540
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
2541
|
+
// The operation
|
|
2542
|
+
/**
|
|
2543
|
+
* Get API for managed network settings of a cognitive services account.
|
|
2544
|
+
*
|
|
2545
|
+
* @param api-version - The API version to use for this operation.
|
|
2546
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
2547
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2548
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2549
|
+
* @param managedNetworkName - Name of the managedNetwork associated with the cognitive services account. Only 'default' is supported.
|
|
2550
|
+
*/
|
|
2551
|
+
export const ManagedNetworkSettingsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2552
|
+
inputSchema: ManagedNetworkSettingsGetInput,
|
|
2553
|
+
outputSchema: ManagedNetworkSettingsGetOutput,
|
|
2554
|
+
}));
|
|
2555
|
+
// Input Schema
|
|
2556
|
+
export const ManagedNetworkSettingsListInput =
|
|
2557
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2558
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2559
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2560
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2561
|
+
"api-version": Schema.String,
|
|
2562
|
+
}).pipe(T.Http({
|
|
2563
|
+
method: "GET",
|
|
2564
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/managedNetworks",
|
|
2565
|
+
}));
|
|
2566
|
+
// Output Schema
|
|
2567
|
+
export const ManagedNetworkSettingsListOutput =
|
|
2568
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2569
|
+
nextLink: Schema.optional(Schema.String),
|
|
2570
|
+
value: Schema.optional(Schema.Array(Schema.Struct({}))),
|
|
2571
|
+
});
|
|
2572
|
+
// The operation
|
|
2573
|
+
/**
|
|
2574
|
+
* List API for managed network settings of a cognitive services account.
|
|
2575
|
+
*
|
|
2576
|
+
* @param api-version - The API version to use for this operation.
|
|
2577
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
2578
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2579
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2580
|
+
*/
|
|
2581
|
+
export const ManagedNetworkSettingsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2582
|
+
inputSchema: ManagedNetworkSettingsListInput,
|
|
2583
|
+
outputSchema: ManagedNetworkSettingsListOutput,
|
|
2584
|
+
}));
|
|
2585
|
+
// Input Schema
|
|
2586
|
+
export const ManagedNetworkSettingsPatchInput =
|
|
2587
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2588
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2589
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2590
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2591
|
+
managedNetworkName: Schema.String.pipe(T.PathParam()),
|
|
2592
|
+
"api-version": Schema.String,
|
|
2593
|
+
}).pipe(T.Http({
|
|
2594
|
+
method: "PATCH",
|
|
2595
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/managedNetworks/{managedNetworkName}",
|
|
2596
|
+
}));
|
|
2597
|
+
// Output Schema
|
|
2598
|
+
export const ManagedNetworkSettingsPatchOutput =
|
|
2599
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
2600
|
+
// The operation
|
|
2601
|
+
/**
|
|
2602
|
+
* Patch API for managed network settings of a cognitive services account.
|
|
2603
|
+
*
|
|
2604
|
+
* @param api-version - The API version to use for this operation.
|
|
2605
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
2606
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2607
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2608
|
+
* @param managedNetworkName - Name of the managedNetwork associated with the cognitive services account. Only 'default' is supported.
|
|
2609
|
+
*/
|
|
2610
|
+
export const ManagedNetworkSettingsPatch = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2611
|
+
inputSchema: ManagedNetworkSettingsPatchInput,
|
|
2612
|
+
outputSchema: ManagedNetworkSettingsPatchOutput,
|
|
2613
|
+
}));
|
|
2614
|
+
// Input Schema
|
|
2615
|
+
export const ManagedNetworkSettingsPutInput =
|
|
2616
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2617
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2618
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2619
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2620
|
+
managedNetworkName: Schema.String.pipe(T.PathParam()),
|
|
2621
|
+
"api-version": Schema.String,
|
|
2622
|
+
}).pipe(T.Http({
|
|
2623
|
+
method: "PUT",
|
|
2624
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/managedNetworks/{managedNetworkName}",
|
|
2625
|
+
}));
|
|
2626
|
+
// Output Schema
|
|
2627
|
+
export const ManagedNetworkSettingsPutOutput =
|
|
2628
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
2629
|
+
// The operation
|
|
2630
|
+
/**
|
|
2631
|
+
* PUT API for managed network settings of a cognitive services account.
|
|
2632
|
+
*
|
|
2633
|
+
* @param api-version - The API version to use for this operation.
|
|
2634
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
2635
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2636
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2637
|
+
* @param managedNetworkName - Name of the managedNetwork associated with the cognitive services account. Only 'default' is supported.
|
|
2638
|
+
*/
|
|
2639
|
+
export const ManagedNetworkSettingsPut = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2640
|
+
inputSchema: ManagedNetworkSettingsPutInput,
|
|
2641
|
+
outputSchema: ManagedNetworkSettingsPutOutput,
|
|
2642
|
+
}));
|
|
2643
|
+
// Input Schema
|
|
1499
2644
|
export const ModelCapacitiesListInput =
|
|
1500
2645
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1501
2646
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1502
2647
|
"api-version": Schema.String,
|
|
2648
|
+
modelFormat: Schema.String,
|
|
2649
|
+
modelName: Schema.String,
|
|
2650
|
+
modelVersion: Schema.String,
|
|
1503
2651
|
}).pipe(T.Http({
|
|
1504
2652
|
method: "GET",
|
|
1505
2653
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/modelCapacities",
|
|
@@ -1514,8 +2662,11 @@ export const ModelCapacitiesListOutput =
|
|
|
1514
2662
|
/**
|
|
1515
2663
|
* List ModelCapacities.
|
|
1516
2664
|
*
|
|
1517
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
1518
2665
|
* @param api-version - The API version to use for this operation.
|
|
2666
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
2667
|
+
* @param modelFormat - The format of the Model
|
|
2668
|
+
* @param modelName - The name of the Model
|
|
2669
|
+
* @param modelVersion - The version of the Model
|
|
1519
2670
|
*/
|
|
1520
2671
|
export const ModelCapacitiesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1521
2672
|
inputSchema: ModelCapacitiesListInput,
|
|
@@ -1524,6 +2675,7 @@ export const ModelCapacitiesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1524
2675
|
// Input Schema
|
|
1525
2676
|
export const ModelsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1526
2677
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2678
|
+
location: Schema.String.pipe(T.PathParam()),
|
|
1527
2679
|
"api-version": Schema.String,
|
|
1528
2680
|
}).pipe(T.Http({
|
|
1529
2681
|
method: "GET",
|
|
@@ -1565,8 +2717,9 @@ export const ModelsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1565
2717
|
/**
|
|
1566
2718
|
* List Models.
|
|
1567
2719
|
*
|
|
1568
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
1569
2720
|
* @param api-version - The API version to use for this operation.
|
|
2721
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
2722
|
+
* @param location - The name of Azure region.
|
|
1570
2723
|
*/
|
|
1571
2724
|
export const ModelsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1572
2725
|
inputSchema: ModelsListInput,
|
|
@@ -1575,89 +2728,285 @@ export const ModelsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1575
2728
|
// Input Schema
|
|
1576
2729
|
export const NetworkSecurityPerimeterConfigurationsGetInput =
|
|
1577
2730
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2731
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2732
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2733
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2734
|
+
nspConfigurationName: Schema.String.pipe(T.PathParam()),
|
|
2735
|
+
"api-version": Schema.String,
|
|
2736
|
+
}).pipe(T.Http({
|
|
2737
|
+
method: "GET",
|
|
2738
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/networkSecurityPerimeterConfigurations/{nspConfigurationName}",
|
|
2739
|
+
}));
|
|
2740
|
+
// Output Schema
|
|
2741
|
+
export const NetworkSecurityPerimeterConfigurationsGetOutput =
|
|
2742
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
2743
|
+
// The operation
|
|
2744
|
+
/**
|
|
2745
|
+
* Gets the specified NSP configurations for an account.
|
|
2746
|
+
*
|
|
2747
|
+
* @param api-version - The API version to use for this operation.
|
|
2748
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
2749
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2750
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2751
|
+
* @param nspConfigurationName - The name of the NSP Configuration.
|
|
2752
|
+
*/
|
|
2753
|
+
export const NetworkSecurityPerimeterConfigurationsGet =
|
|
2754
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2755
|
+
inputSchema: NetworkSecurityPerimeterConfigurationsGetInput,
|
|
2756
|
+
outputSchema: NetworkSecurityPerimeterConfigurationsGetOutput,
|
|
2757
|
+
}));
|
|
2758
|
+
// Input Schema
|
|
2759
|
+
export const NetworkSecurityPerimeterConfigurationsListInput =
|
|
2760
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2761
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2762
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2763
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2764
|
+
"api-version": Schema.String,
|
|
2765
|
+
}).pipe(T.Http({
|
|
2766
|
+
method: "GET",
|
|
2767
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/networkSecurityPerimeterConfigurations",
|
|
2768
|
+
}));
|
|
2769
|
+
// Output Schema
|
|
2770
|
+
export const NetworkSecurityPerimeterConfigurationsListOutput =
|
|
2771
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2772
|
+
value: Schema.optional(Schema.Array(Schema.Struct({}))),
|
|
2773
|
+
nextLink: Schema.optional(Schema.String),
|
|
2774
|
+
});
|
|
2775
|
+
// The operation
|
|
2776
|
+
/**
|
|
2777
|
+
* Gets a list of NSP configurations for an account.
|
|
2778
|
+
*
|
|
2779
|
+
* @param api-version - The API version to use for this operation.
|
|
2780
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
2781
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2782
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2783
|
+
*/
|
|
2784
|
+
export const NetworkSecurityPerimeterConfigurationsList =
|
|
2785
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2786
|
+
inputSchema: NetworkSecurityPerimeterConfigurationsListInput,
|
|
2787
|
+
outputSchema: NetworkSecurityPerimeterConfigurationsListOutput,
|
|
2788
|
+
}));
|
|
2789
|
+
// Input Schema
|
|
2790
|
+
export const NetworkSecurityPerimeterConfigurationsReconcileInput =
|
|
2791
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2792
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2793
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2794
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2795
|
+
nspConfigurationName: Schema.String.pipe(T.PathParam()),
|
|
2796
|
+
"api-version": Schema.String,
|
|
2797
|
+
}).pipe(T.Http({
|
|
2798
|
+
method: "POST",
|
|
2799
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/networkSecurityPerimeterConfigurations/{nspConfigurationName}/reconcile",
|
|
2800
|
+
}));
|
|
2801
|
+
// Output Schema
|
|
2802
|
+
export const NetworkSecurityPerimeterConfigurationsReconcileOutput =
|
|
2803
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
2804
|
+
// The operation
|
|
2805
|
+
/**
|
|
2806
|
+
* Reconcile the NSP configuration for an account.
|
|
2807
|
+
*
|
|
2808
|
+
* @param api-version - The API version to use for this operation.
|
|
2809
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
2810
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2811
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2812
|
+
* @param nspConfigurationName - The name of the NSP Configuration.
|
|
2813
|
+
*/
|
|
2814
|
+
export const NetworkSecurityPerimeterConfigurationsReconcile =
|
|
2815
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2816
|
+
inputSchema: NetworkSecurityPerimeterConfigurationsReconcileInput,
|
|
2817
|
+
outputSchema: NetworkSecurityPerimeterConfigurationsReconcileOutput,
|
|
2818
|
+
}));
|
|
2819
|
+
// Input Schema
|
|
2820
|
+
export const OperationsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2821
|
+
"api-version": Schema.String,
|
|
2822
|
+
}).pipe(T.Http({
|
|
2823
|
+
method: "GET",
|
|
2824
|
+
path: "/providers/Microsoft.CognitiveServices/operations",
|
|
2825
|
+
}));
|
|
2826
|
+
// Output Schema
|
|
2827
|
+
export const OperationsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2828
|
+
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
2829
|
+
name: Schema.optional(Schema.String),
|
|
2830
|
+
isDataAction: Schema.optional(Schema.Boolean),
|
|
2831
|
+
display: Schema.optional(Schema.Struct({
|
|
2832
|
+
provider: Schema.optional(Schema.String),
|
|
2833
|
+
resource: Schema.optional(Schema.String),
|
|
2834
|
+
operation: Schema.optional(Schema.String),
|
|
2835
|
+
description: Schema.optional(Schema.String),
|
|
2836
|
+
})),
|
|
2837
|
+
origin: Schema.optional(Schema.Literals(["user", "system", "user,system"])),
|
|
2838
|
+
actionType: Schema.optional(Schema.Literals(["Internal"])),
|
|
2839
|
+
}))),
|
|
2840
|
+
nextLink: Schema.optional(Schema.String),
|
|
2841
|
+
});
|
|
2842
|
+
// The operation
|
|
2843
|
+
/**
|
|
2844
|
+
* Lists all the available Cognitive Services account operations.
|
|
2845
|
+
*
|
|
2846
|
+
* @param api-version - The API version to use for this operation.
|
|
2847
|
+
*/
|
|
2848
|
+
export const OperationsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2849
|
+
inputSchema: OperationsListInput,
|
|
2850
|
+
outputSchema: OperationsListOutput,
|
|
2851
|
+
}));
|
|
2852
|
+
// Input Schema
|
|
2853
|
+
export const OutboundRuleCreateOrUpdateInput =
|
|
2854
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2855
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2856
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2857
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2858
|
+
managedNetworkName: Schema.String.pipe(T.PathParam()),
|
|
2859
|
+
ruleName: Schema.String.pipe(T.PathParam()),
|
|
2860
|
+
"api-version": Schema.String,
|
|
2861
|
+
}).pipe(T.Http({
|
|
2862
|
+
method: "PUT",
|
|
2863
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/managedNetworks/{managedNetworkName}/outboundRules/{ruleName}",
|
|
2864
|
+
}));
|
|
2865
|
+
// Output Schema
|
|
2866
|
+
export const OutboundRuleCreateOrUpdateOutput =
|
|
2867
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
2868
|
+
// The operation
|
|
2869
|
+
/**
|
|
2870
|
+
* The PUT API for creating or updating a single outbound rule of the managed network associated with the cognitive services account.
|
|
2871
|
+
*
|
|
2872
|
+
* @param api-version - The API version to use for this operation.
|
|
2873
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
2874
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2875
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2876
|
+
* @param managedNetworkName - Name of the managedNetwork associated with the cognitive services account. Only 'default' is supported.
|
|
2877
|
+
* @param ruleName - Name of the cognitive services account managed network outbound rule
|
|
2878
|
+
*/
|
|
2879
|
+
export const OutboundRuleCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2880
|
+
inputSchema: OutboundRuleCreateOrUpdateInput,
|
|
2881
|
+
outputSchema: OutboundRuleCreateOrUpdateOutput,
|
|
2882
|
+
}));
|
|
2883
|
+
// Input Schema
|
|
2884
|
+
export const OutboundRuleDeleteInput =
|
|
2885
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2886
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1578
2887
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2888
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2889
|
+
managedNetworkName: Schema.String.pipe(T.PathParam()),
|
|
2890
|
+
ruleName: Schema.String.pipe(T.PathParam()),
|
|
2891
|
+
"api-version": Schema.String,
|
|
2892
|
+
}).pipe(T.Http({
|
|
2893
|
+
method: "DELETE",
|
|
2894
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/managedNetworks/{managedNetworkName}/outboundRules/{ruleName}",
|
|
2895
|
+
}));
|
|
2896
|
+
// Output Schema
|
|
2897
|
+
export const OutboundRuleDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
2898
|
+
// The operation
|
|
2899
|
+
/**
|
|
2900
|
+
* The DELETE API for deleting a single outbound rule of the managed network associated with the cognitive services account.
|
|
2901
|
+
*
|
|
2902
|
+
* @param api-version - The API version to use for this operation.
|
|
2903
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
2904
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2905
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2906
|
+
* @param managedNetworkName - Name of the managedNetwork associated with the cognitive services account. Only 'default' is supported.
|
|
2907
|
+
* @param ruleName - Name of the cognitive services account managed network outbound rule
|
|
2908
|
+
*/
|
|
2909
|
+
export const OutboundRuleDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2910
|
+
inputSchema: OutboundRuleDeleteInput,
|
|
2911
|
+
outputSchema: OutboundRuleDeleteOutput,
|
|
2912
|
+
}));
|
|
2913
|
+
// Input Schema
|
|
2914
|
+
export const OutboundRuleGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1579
2915
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2916
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2917
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2918
|
+
managedNetworkName: Schema.String.pipe(T.PathParam()),
|
|
2919
|
+
ruleName: Schema.String.pipe(T.PathParam()),
|
|
1580
2920
|
"api-version": Schema.String,
|
|
1581
2921
|
}).pipe(T.Http({
|
|
1582
2922
|
method: "GET",
|
|
1583
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/
|
|
2923
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/managedNetworks/{managedNetworkName}/outboundRules/{ruleName}",
|
|
1584
2924
|
}));
|
|
1585
2925
|
// Output Schema
|
|
1586
|
-
export const
|
|
1587
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
2926
|
+
export const OutboundRuleGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
1588
2927
|
// The operation
|
|
1589
2928
|
/**
|
|
1590
|
-
*
|
|
2929
|
+
* The GET API for retrieving a single outbound rule of the managed network associated with the cognitive services account.
|
|
1591
2930
|
*
|
|
1592
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1593
2931
|
* @param api-version - The API version to use for this operation.
|
|
1594
2932
|
* @param subscriptionId - The ID of the target subscription.
|
|
2933
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2934
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2935
|
+
* @param managedNetworkName - Name of the managedNetwork associated with the cognitive services account. Only 'default' is supported.
|
|
2936
|
+
* @param ruleName - Name of the cognitive services account managed network outbound rule
|
|
1595
2937
|
*/
|
|
1596
|
-
export const
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
outputSchema: NetworkSecurityPerimeterConfigurationsGetOutput,
|
|
2938
|
+
export const OutboundRuleGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2939
|
+
inputSchema: OutboundRuleGetInput,
|
|
2940
|
+
outputSchema: OutboundRuleGetOutput,
|
|
1600
2941
|
}));
|
|
1601
2942
|
// Input Schema
|
|
1602
|
-
export const
|
|
1603
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1604
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2943
|
+
export const OutboundRuleListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1605
2944
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2945
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2946
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2947
|
+
managedNetworkName: Schema.String.pipe(T.PathParam()),
|
|
1606
2948
|
"api-version": Schema.String,
|
|
1607
2949
|
}).pipe(T.Http({
|
|
1608
2950
|
method: "GET",
|
|
1609
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/
|
|
2951
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/managedNetworks/{managedNetworkName}/outboundRules",
|
|
1610
2952
|
}));
|
|
1611
2953
|
// Output Schema
|
|
1612
|
-
export const
|
|
1613
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1614
|
-
value: Schema.optional(Schema.Array(Schema.Struct({}))),
|
|
2954
|
+
export const OutboundRuleListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1615
2955
|
nextLink: Schema.optional(Schema.String),
|
|
2956
|
+
value: Schema.optional(Schema.Array(Schema.Struct({}))),
|
|
1616
2957
|
});
|
|
1617
2958
|
// The operation
|
|
1618
2959
|
/**
|
|
1619
|
-
*
|
|
2960
|
+
* The GET API for retrieving the list of outbound rules of the managed network associated with the cognitive services account.
|
|
1620
2961
|
*
|
|
1621
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1622
2962
|
* @param api-version - The API version to use for this operation.
|
|
1623
2963
|
* @param subscriptionId - The ID of the target subscription.
|
|
2964
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2965
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2966
|
+
* @param managedNetworkName - Name of the managedNetwork associated with the cognitive services account. Only 'default' is supported.
|
|
1624
2967
|
*/
|
|
1625
|
-
export const
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
outputSchema: NetworkSecurityPerimeterConfigurationsListOutput,
|
|
2968
|
+
export const OutboundRuleList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2969
|
+
inputSchema: OutboundRuleListInput,
|
|
2970
|
+
outputSchema: OutboundRuleListOutput,
|
|
1629
2971
|
}));
|
|
1630
2972
|
// Input Schema
|
|
1631
|
-
export const
|
|
1632
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1633
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2973
|
+
export const OutboundRulesPostInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1634
2974
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2975
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2976
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2977
|
+
managedNetworkName: Schema.String.pipe(T.PathParam()),
|
|
1635
2978
|
"api-version": Schema.String,
|
|
1636
2979
|
}).pipe(T.Http({
|
|
1637
2980
|
method: "POST",
|
|
1638
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/
|
|
2981
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/managedNetworks/{managedNetworkName}/batchOutboundRules",
|
|
1639
2982
|
}));
|
|
1640
2983
|
// Output Schema
|
|
1641
|
-
export const
|
|
1642
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2984
|
+
export const OutboundRulesPostOutput =
|
|
2985
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2986
|
+
nextLink: Schema.optional(Schema.String),
|
|
2987
|
+
value: Schema.optional(Schema.Array(Schema.Struct({}))),
|
|
2988
|
+
});
|
|
1643
2989
|
// The operation
|
|
1644
2990
|
/**
|
|
1645
|
-
*
|
|
2991
|
+
* The POST API for updating the outbound rules of the managed network associated with the cognitive services account.
|
|
1646
2992
|
*
|
|
1647
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1648
2993
|
* @param api-version - The API version to use for this operation.
|
|
1649
2994
|
* @param subscriptionId - The ID of the target subscription.
|
|
2995
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2996
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2997
|
+
* @param managedNetworkName - Name of the managedNetwork associated with the cognitive services account. Only 'default' is supported.
|
|
1650
2998
|
*/
|
|
1651
|
-
export const
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
outputSchema: NetworkSecurityPerimeterConfigurationsReconcileOutput,
|
|
2999
|
+
export const OutboundRulesPost = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3000
|
+
inputSchema: OutboundRulesPostInput,
|
|
3001
|
+
outputSchema: OutboundRulesPostOutput,
|
|
1655
3002
|
}));
|
|
1656
3003
|
// Input Schema
|
|
1657
3004
|
export const PrivateEndpointConnectionsCreateOrUpdateInput =
|
|
1658
3005
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1659
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1660
3006
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3007
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3008
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3009
|
+
privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
|
|
1661
3010
|
"api-version": Schema.String,
|
|
1662
3011
|
}).pipe(T.Http({
|
|
1663
3012
|
method: "PUT",
|
|
@@ -1665,16 +3014,16 @@ export const PrivateEndpointConnectionsCreateOrUpdateInput =
|
|
|
1665
3014
|
}));
|
|
1666
3015
|
// Output Schema
|
|
1667
3016
|
export const PrivateEndpointConnectionsCreateOrUpdateOutput =
|
|
1668
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1669
|
-
etag: Schema.optional(Schema.String),
|
|
1670
|
-
});
|
|
3017
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
1671
3018
|
// The operation
|
|
1672
3019
|
/**
|
|
1673
3020
|
* Update the state of specified private endpoint connection associated with the Cognitive Services account.
|
|
1674
3021
|
*
|
|
1675
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1676
3022
|
* @param api-version - The API version to use for this operation.
|
|
1677
3023
|
* @param subscriptionId - The ID of the target subscription.
|
|
3024
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3025
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3026
|
+
* @param privateEndpointConnectionName - The name of the private endpoint connection associated with the Cognitive Services Account
|
|
1678
3027
|
*/
|
|
1679
3028
|
export const PrivateEndpointConnectionsCreateOrUpdate =
|
|
1680
3029
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -1684,8 +3033,10 @@ export const PrivateEndpointConnectionsCreateOrUpdate =
|
|
|
1684
3033
|
// Input Schema
|
|
1685
3034
|
export const PrivateEndpointConnectionsDeleteInput =
|
|
1686
3035
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1687
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1688
3036
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3037
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3038
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3039
|
+
privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
|
|
1689
3040
|
"api-version": Schema.String,
|
|
1690
3041
|
}).pipe(T.Http({
|
|
1691
3042
|
method: "DELETE",
|
|
@@ -1698,9 +3049,11 @@ export const PrivateEndpointConnectionsDeleteOutput =
|
|
|
1698
3049
|
/**
|
|
1699
3050
|
* Deletes the specified private endpoint connection associated with the Cognitive Services account.
|
|
1700
3051
|
*
|
|
1701
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1702
3052
|
* @param api-version - The API version to use for this operation.
|
|
1703
3053
|
* @param subscriptionId - The ID of the target subscription.
|
|
3054
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3055
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3056
|
+
* @param privateEndpointConnectionName - The name of the private endpoint connection associated with the Cognitive Services Account
|
|
1704
3057
|
*/
|
|
1705
3058
|
export const PrivateEndpointConnectionsDelete =
|
|
1706
3059
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -1710,8 +3063,10 @@ export const PrivateEndpointConnectionsDelete =
|
|
|
1710
3063
|
// Input Schema
|
|
1711
3064
|
export const PrivateEndpointConnectionsGetInput =
|
|
1712
3065
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1713
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1714
3066
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3067
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3068
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3069
|
+
privateEndpointConnectionName: Schema.String.pipe(T.PathParam()),
|
|
1715
3070
|
"api-version": Schema.String,
|
|
1716
3071
|
}).pipe(T.Http({
|
|
1717
3072
|
method: "GET",
|
|
@@ -1719,16 +3074,16 @@ export const PrivateEndpointConnectionsGetInput =
|
|
|
1719
3074
|
}));
|
|
1720
3075
|
// Output Schema
|
|
1721
3076
|
export const PrivateEndpointConnectionsGetOutput =
|
|
1722
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1723
|
-
etag: Schema.optional(Schema.String),
|
|
1724
|
-
});
|
|
3077
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
1725
3078
|
// The operation
|
|
1726
3079
|
/**
|
|
1727
3080
|
* Gets the specified private endpoint connection associated with the Cognitive Services account.
|
|
1728
3081
|
*
|
|
1729
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1730
3082
|
* @param api-version - The API version to use for this operation.
|
|
1731
3083
|
* @param subscriptionId - The ID of the target subscription.
|
|
3084
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3085
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3086
|
+
* @param privateEndpointConnectionName - The name of the private endpoint connection associated with the Cognitive Services Account
|
|
1732
3087
|
*/
|
|
1733
3088
|
export const PrivateEndpointConnectionsGet =
|
|
1734
3089
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -1738,8 +3093,9 @@ export const PrivateEndpointConnectionsGet =
|
|
|
1738
3093
|
// Input Schema
|
|
1739
3094
|
export const PrivateEndpointConnectionsListInput =
|
|
1740
3095
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1741
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1742
3096
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3097
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3098
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
1743
3099
|
"api-version": Schema.String,
|
|
1744
3100
|
}).pipe(T.Http({
|
|
1745
3101
|
method: "GET",
|
|
@@ -1748,17 +3104,16 @@ export const PrivateEndpointConnectionsListInput =
|
|
|
1748
3104
|
// Output Schema
|
|
1749
3105
|
export const PrivateEndpointConnectionsListOutput =
|
|
1750
3106
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1751
|
-
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
1752
|
-
etag: Schema.optional(Schema.String),
|
|
1753
|
-
}))),
|
|
3107
|
+
value: Schema.optional(Schema.Array(Schema.Struct({}))),
|
|
1754
3108
|
});
|
|
1755
3109
|
// The operation
|
|
1756
3110
|
/**
|
|
1757
3111
|
* Gets the private endpoint connections associated with the Cognitive Services account.
|
|
1758
3112
|
*
|
|
1759
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1760
3113
|
* @param api-version - The API version to use for this operation.
|
|
1761
3114
|
* @param subscriptionId - The ID of the target subscription.
|
|
3115
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3116
|
+
* @param accountName - The name of Cognitive Services account.
|
|
1762
3117
|
*/
|
|
1763
3118
|
export const PrivateEndpointConnectionsList =
|
|
1764
3119
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -1766,10 +3121,64 @@ export const PrivateEndpointConnectionsList =
|
|
|
1766
3121
|
outputSchema: PrivateEndpointConnectionsListOutput,
|
|
1767
3122
|
}));
|
|
1768
3123
|
// Input Schema
|
|
3124
|
+
export const PrivateLinkResourcesListInput =
|
|
3125
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3126
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3127
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3128
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3129
|
+
"api-version": Schema.String,
|
|
3130
|
+
}).pipe(T.Http({
|
|
3131
|
+
method: "GET",
|
|
3132
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateLinkResources",
|
|
3133
|
+
}));
|
|
3134
|
+
// Output Schema
|
|
3135
|
+
export const PrivateLinkResourcesListOutput =
|
|
3136
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3137
|
+
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
3138
|
+
id: Schema.optional(Schema.String),
|
|
3139
|
+
name: Schema.optional(Schema.String),
|
|
3140
|
+
type: Schema.optional(Schema.String),
|
|
3141
|
+
systemData: Schema.optional(Schema.Struct({
|
|
3142
|
+
createdBy: Schema.optional(Schema.String),
|
|
3143
|
+
createdByType: Schema.optional(Schema.Literals([
|
|
3144
|
+
"User",
|
|
3145
|
+
"Application",
|
|
3146
|
+
"ManagedIdentity",
|
|
3147
|
+
"Key",
|
|
3148
|
+
])),
|
|
3149
|
+
createdAt: Schema.optional(Schema.String),
|
|
3150
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
3151
|
+
lastModifiedByType: Schema.optional(Schema.Literals([
|
|
3152
|
+
"User",
|
|
3153
|
+
"Application",
|
|
3154
|
+
"ManagedIdentity",
|
|
3155
|
+
"Key",
|
|
3156
|
+
])),
|
|
3157
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
3158
|
+
})),
|
|
3159
|
+
}))),
|
|
3160
|
+
});
|
|
3161
|
+
// The operation
|
|
3162
|
+
/**
|
|
3163
|
+
* Gets the private link resources that need to be created for a Cognitive Services account.
|
|
3164
|
+
*
|
|
3165
|
+
* @param api-version - The API version to use for this operation.
|
|
3166
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
3167
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3168
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3169
|
+
*/
|
|
3170
|
+
export const PrivateLinkResourcesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3171
|
+
inputSchema: PrivateLinkResourcesListInput,
|
|
3172
|
+
outputSchema: PrivateLinkResourcesListOutput,
|
|
3173
|
+
}));
|
|
3174
|
+
// Input Schema
|
|
1769
3175
|
export const ProjectCapabilityHostsCreateOrUpdateInput =
|
|
1770
3176
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1771
3177
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1772
3178
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3179
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3180
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
3181
|
+
capabilityHostName: Schema.String.pipe(T.PathParam()),
|
|
1773
3182
|
"api-version": Schema.String,
|
|
1774
3183
|
}).pipe(T.Http({
|
|
1775
3184
|
method: "PUT",
|
|
@@ -1782,9 +3191,12 @@ export const ProjectCapabilityHostsCreateOrUpdateOutput =
|
|
|
1782
3191
|
/**
|
|
1783
3192
|
* Create or update project capabilityHost.
|
|
1784
3193
|
*
|
|
3194
|
+
* @param api-version - The API version to use for this operation.
|
|
1785
3195
|
* @param subscriptionId - The ID of the target subscription.
|
|
1786
3196
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1787
|
-
* @param
|
|
3197
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3198
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
3199
|
+
* @param capabilityHostName - The name of the capability host associated with the Cognitive Services Resource
|
|
1788
3200
|
*/
|
|
1789
3201
|
export const ProjectCapabilityHostsCreateOrUpdate =
|
|
1790
3202
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -1796,6 +3208,9 @@ export const ProjectCapabilityHostsDeleteInput =
|
|
|
1796
3208
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1797
3209
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1798
3210
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3211
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3212
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
3213
|
+
capabilityHostName: Schema.String.pipe(T.PathParam()),
|
|
1799
3214
|
"api-version": Schema.String,
|
|
1800
3215
|
}).pipe(T.Http({
|
|
1801
3216
|
method: "DELETE",
|
|
@@ -1808,9 +3223,12 @@ export const ProjectCapabilityHostsDeleteOutput =
|
|
|
1808
3223
|
/**
|
|
1809
3224
|
* Delete project capabilityHost.
|
|
1810
3225
|
*
|
|
3226
|
+
* @param api-version - The API version to use for this operation.
|
|
1811
3227
|
* @param subscriptionId - The ID of the target subscription.
|
|
1812
3228
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1813
|
-
* @param
|
|
3229
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3230
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
3231
|
+
* @param capabilityHostName - The name of the capability host associated with the Cognitive Services Resource
|
|
1814
3232
|
*/
|
|
1815
3233
|
export const ProjectCapabilityHostsDelete =
|
|
1816
3234
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -1822,6 +3240,9 @@ export const ProjectCapabilityHostsGetInput =
|
|
|
1822
3240
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1823
3241
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1824
3242
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3243
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3244
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
3245
|
+
capabilityHostName: Schema.String.pipe(T.PathParam()),
|
|
1825
3246
|
"api-version": Schema.String,
|
|
1826
3247
|
}).pipe(T.Http({
|
|
1827
3248
|
method: "GET",
|
|
@@ -1834,9 +3255,12 @@ export const ProjectCapabilityHostsGetOutput =
|
|
|
1834
3255
|
/**
|
|
1835
3256
|
* Get project capabilityHost.
|
|
1836
3257
|
*
|
|
3258
|
+
* @param api-version - The API version to use for this operation.
|
|
1837
3259
|
* @param subscriptionId - The ID of the target subscription.
|
|
1838
3260
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1839
|
-
* @param
|
|
3261
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3262
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
3263
|
+
* @param capabilityHostName - The name of the capability host associated with the Cognitive Services Resource
|
|
1840
3264
|
*/
|
|
1841
3265
|
export const ProjectCapabilityHostsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1842
3266
|
inputSchema: ProjectCapabilityHostsGetInput,
|
|
@@ -1847,6 +3271,8 @@ export const ProjectCapabilityHostsListInput =
|
|
|
1847
3271
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1848
3272
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1849
3273
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3274
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3275
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
1850
3276
|
"api-version": Schema.String,
|
|
1851
3277
|
}).pipe(T.Http({
|
|
1852
3278
|
method: "GET",
|
|
@@ -1856,25 +3282,61 @@ export const ProjectCapabilityHostsListInput =
|
|
|
1856
3282
|
export const ProjectCapabilityHostsListOutput =
|
|
1857
3283
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1858
3284
|
nextLink: Schema.optional(Schema.NullOr(Schema.String)),
|
|
1859
|
-
value: Schema.optional(Schema.
|
|
3285
|
+
value: Schema.optional(Schema.Array(Schema.Struct({}))),
|
|
1860
3286
|
});
|
|
1861
3287
|
// The operation
|
|
1862
3288
|
/**
|
|
1863
3289
|
* List capabilityHost.
|
|
1864
3290
|
*
|
|
3291
|
+
* @param api-version - The API version to use for this operation.
|
|
1865
3292
|
* @param subscriptionId - The ID of the target subscription.
|
|
1866
3293
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1867
|
-
* @param
|
|
3294
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3295
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
1868
3296
|
*/
|
|
1869
3297
|
export const ProjectCapabilityHostsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1870
3298
|
inputSchema: ProjectCapabilityHostsListInput,
|
|
1871
3299
|
outputSchema: ProjectCapabilityHostsListOutput,
|
|
1872
3300
|
}));
|
|
1873
3301
|
// Input Schema
|
|
3302
|
+
export const ProjectConnectionsCreateInput =
|
|
3303
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3304
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3305
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3306
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3307
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
3308
|
+
connectionName: Schema.String.pipe(T.PathParam()),
|
|
3309
|
+
"api-version": Schema.String,
|
|
3310
|
+
}).pipe(T.Http({
|
|
3311
|
+
method: "PUT",
|
|
3312
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections/{connectionName}",
|
|
3313
|
+
}));
|
|
3314
|
+
// Output Schema
|
|
3315
|
+
export const ProjectConnectionsCreateOutput =
|
|
3316
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
3317
|
+
// The operation
|
|
3318
|
+
/**
|
|
3319
|
+
* Create or update Cognitive Services project connection under the specified project.
|
|
3320
|
+
*
|
|
3321
|
+
* @param api-version - The API version to use for this operation.
|
|
3322
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
3323
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3324
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3325
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
3326
|
+
* @param connectionName - Friendly name of the connection
|
|
3327
|
+
*/
|
|
3328
|
+
export const ProjectConnectionsCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3329
|
+
inputSchema: ProjectConnectionsCreateInput,
|
|
3330
|
+
outputSchema: ProjectConnectionsCreateOutput,
|
|
3331
|
+
}));
|
|
3332
|
+
// Input Schema
|
|
1874
3333
|
export const ProjectConnectionsDeleteInput =
|
|
1875
3334
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1876
3335
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1877
3336
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3337
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3338
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
3339
|
+
connectionName: Schema.String.pipe(T.PathParam()),
|
|
1878
3340
|
"api-version": Schema.String,
|
|
1879
3341
|
}).pipe(T.Http({
|
|
1880
3342
|
method: "DELETE",
|
|
@@ -1887,18 +3349,123 @@ export const ProjectConnectionsDeleteOutput =
|
|
|
1887
3349
|
/**
|
|
1888
3350
|
* Delete Cognitive Services project connection by name.
|
|
1889
3351
|
*
|
|
3352
|
+
* @param api-version - The API version to use for this operation.
|
|
1890
3353
|
* @param subscriptionId - The ID of the target subscription.
|
|
1891
3354
|
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1892
|
-
* @param
|
|
3355
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3356
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
3357
|
+
* @param connectionName - Friendly name of the connection
|
|
1893
3358
|
*/
|
|
1894
3359
|
export const ProjectConnectionsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1895
3360
|
inputSchema: ProjectConnectionsDeleteInput,
|
|
1896
3361
|
outputSchema: ProjectConnectionsDeleteOutput,
|
|
1897
3362
|
}));
|
|
1898
3363
|
// Input Schema
|
|
1899
|
-
export const
|
|
3364
|
+
export const ProjectConnectionsGetInput =
|
|
3365
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3366
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3367
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3368
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3369
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
3370
|
+
connectionName: Schema.String.pipe(T.PathParam()),
|
|
3371
|
+
"api-version": Schema.String,
|
|
3372
|
+
}).pipe(T.Http({
|
|
3373
|
+
method: "GET",
|
|
3374
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections/{connectionName}",
|
|
3375
|
+
}));
|
|
3376
|
+
// Output Schema
|
|
3377
|
+
export const ProjectConnectionsGetOutput =
|
|
3378
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
3379
|
+
// The operation
|
|
3380
|
+
/**
|
|
3381
|
+
* Lists Cognitive Services project connection by name.
|
|
3382
|
+
*
|
|
3383
|
+
* @param api-version - The API version to use for this operation.
|
|
3384
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
3385
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3386
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3387
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
3388
|
+
* @param connectionName - Friendly name of the connection
|
|
3389
|
+
*/
|
|
3390
|
+
export const ProjectConnectionsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3391
|
+
inputSchema: ProjectConnectionsGetInput,
|
|
3392
|
+
outputSchema: ProjectConnectionsGetOutput,
|
|
3393
|
+
}));
|
|
3394
|
+
// Input Schema
|
|
3395
|
+
export const ProjectConnectionsListInput =
|
|
3396
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3397
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3398
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3399
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3400
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
3401
|
+
"api-version": Schema.String,
|
|
3402
|
+
target: Schema.optional(Schema.String),
|
|
3403
|
+
category: Schema.optional(Schema.String),
|
|
3404
|
+
includeAll: Schema.optional(Schema.Boolean),
|
|
3405
|
+
}).pipe(T.Http({
|
|
3406
|
+
method: "GET",
|
|
3407
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections",
|
|
3408
|
+
}));
|
|
3409
|
+
// Output Schema
|
|
3410
|
+
export const ProjectConnectionsListOutput =
|
|
3411
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3412
|
+
nextLink: Schema.optional(Schema.String),
|
|
3413
|
+
value: Schema.optional(Schema.Array(Schema.Struct({}))),
|
|
3414
|
+
});
|
|
3415
|
+
// The operation
|
|
3416
|
+
/**
|
|
3417
|
+
* Lists all the available Cognitive Services project connections under the specified project.
|
|
3418
|
+
*
|
|
3419
|
+
* @param api-version - The API version to use for this operation.
|
|
3420
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
3421
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3422
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3423
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
3424
|
+
* @param target - Target of the connection.
|
|
3425
|
+
* @param category - Category of the connection.
|
|
3426
|
+
* @param includeAll - query parameter that indicates if get connection call should return both connections and datastores
|
|
3427
|
+
*/
|
|
3428
|
+
export const ProjectConnectionsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3429
|
+
inputSchema: ProjectConnectionsListInput,
|
|
3430
|
+
outputSchema: ProjectConnectionsListOutput,
|
|
3431
|
+
}));
|
|
3432
|
+
// Input Schema
|
|
3433
|
+
export const ProjectConnectionsUpdateInput =
|
|
3434
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
3435
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
1900
3436
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3437
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3438
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
3439
|
+
connectionName: Schema.String.pipe(T.PathParam()),
|
|
3440
|
+
"api-version": Schema.String,
|
|
3441
|
+
}).pipe(T.Http({
|
|
3442
|
+
method: "PATCH",
|
|
3443
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/connections/{connectionName}",
|
|
3444
|
+
}));
|
|
3445
|
+
// Output Schema
|
|
3446
|
+
export const ProjectConnectionsUpdateOutput =
|
|
3447
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
3448
|
+
// The operation
|
|
3449
|
+
/**
|
|
3450
|
+
* Update Cognitive Services project connection under the specified project.
|
|
3451
|
+
*
|
|
3452
|
+
* @param api-version - The API version to use for this operation.
|
|
3453
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
3454
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3455
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3456
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
3457
|
+
* @param connectionName - Friendly name of the connection
|
|
3458
|
+
*/
|
|
3459
|
+
export const ProjectConnectionsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
3460
|
+
inputSchema: ProjectConnectionsUpdateInput,
|
|
3461
|
+
outputSchema: ProjectConnectionsUpdateOutput,
|
|
3462
|
+
}));
|
|
3463
|
+
// Input Schema
|
|
3464
|
+
export const ProjectsCreateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1901
3465
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3466
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3467
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3468
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
1902
3469
|
"api-version": Schema.String,
|
|
1903
3470
|
}).pipe(T.Http({
|
|
1904
3471
|
method: "PUT",
|
|
@@ -1906,15 +3473,27 @@ export const ProjectsCreateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1906
3473
|
}));
|
|
1907
3474
|
// Output Schema
|
|
1908
3475
|
export const ProjectsCreateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1909
|
-
|
|
3476
|
+
id: Schema.optional(Schema.String),
|
|
3477
|
+
name: Schema.optional(Schema.String),
|
|
3478
|
+
type: Schema.optional(Schema.String),
|
|
3479
|
+
systemData: Schema.optional(Schema.Struct({
|
|
3480
|
+
createdBy: Schema.optional(Schema.String),
|
|
3481
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
3482
|
+
createdAt: Schema.optional(Schema.String),
|
|
3483
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
3484
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
3485
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
3486
|
+
})),
|
|
1910
3487
|
});
|
|
1911
3488
|
// The operation
|
|
1912
3489
|
/**
|
|
1913
3490
|
* Create Cognitive Services Account's Project. Project is a sub-resource of an account which give AI developer it's individual container to work on.
|
|
1914
3491
|
*
|
|
1915
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1916
3492
|
* @param api-version - The API version to use for this operation.
|
|
1917
3493
|
* @param subscriptionId - The ID of the target subscription.
|
|
3494
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3495
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3496
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
1918
3497
|
*/
|
|
1919
3498
|
export const ProjectsCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1920
3499
|
inputSchema: ProjectsCreateInput,
|
|
@@ -1922,8 +3501,10 @@ export const ProjectsCreate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1922
3501
|
}));
|
|
1923
3502
|
// Input Schema
|
|
1924
3503
|
export const ProjectsDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1925
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1926
3504
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3505
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3506
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3507
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
1927
3508
|
"api-version": Schema.String,
|
|
1928
3509
|
}).pipe(T.Http({
|
|
1929
3510
|
method: "DELETE",
|
|
@@ -1935,9 +3516,11 @@ export const ProjectsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
|
1935
3516
|
/**
|
|
1936
3517
|
* Deletes a Cognitive Services project from the resource group.
|
|
1937
3518
|
*
|
|
1938
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1939
3519
|
* @param api-version - The API version to use for this operation.
|
|
1940
3520
|
* @param subscriptionId - The ID of the target subscription.
|
|
3521
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3522
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3523
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
1941
3524
|
*/
|
|
1942
3525
|
export const ProjectsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1943
3526
|
inputSchema: ProjectsDeleteInput,
|
|
@@ -1945,8 +3528,10 @@ export const ProjectsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1945
3528
|
}));
|
|
1946
3529
|
// Input Schema
|
|
1947
3530
|
export const ProjectsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1948
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1949
3531
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3532
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3533
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3534
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
1950
3535
|
"api-version": Schema.String,
|
|
1951
3536
|
}).pipe(T.Http({
|
|
1952
3537
|
method: "GET",
|
|
@@ -1954,15 +3539,27 @@ export const ProjectsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1954
3539
|
}));
|
|
1955
3540
|
// Output Schema
|
|
1956
3541
|
export const ProjectsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1957
|
-
|
|
3542
|
+
id: Schema.optional(Schema.String),
|
|
3543
|
+
name: Schema.optional(Schema.String),
|
|
3544
|
+
type: Schema.optional(Schema.String),
|
|
3545
|
+
systemData: Schema.optional(Schema.Struct({
|
|
3546
|
+
createdBy: Schema.optional(Schema.String),
|
|
3547
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
3548
|
+
createdAt: Schema.optional(Schema.String),
|
|
3549
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
3550
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
3551
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
3552
|
+
})),
|
|
1958
3553
|
});
|
|
1959
3554
|
// The operation
|
|
1960
3555
|
/**
|
|
1961
3556
|
* Returns a Cognitive Services project specified by the parameters.
|
|
1962
3557
|
*
|
|
1963
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1964
3558
|
* @param api-version - The API version to use for this operation.
|
|
1965
3559
|
* @param subscriptionId - The ID of the target subscription.
|
|
3560
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3561
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3562
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
1966
3563
|
*/
|
|
1967
3564
|
export const ProjectsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1968
3565
|
inputSchema: ProjectsGetInput,
|
|
@@ -1970,8 +3567,9 @@ export const ProjectsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1970
3567
|
}));
|
|
1971
3568
|
// Input Schema
|
|
1972
3569
|
export const ProjectsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1973
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
1974
3570
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3571
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3572
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
1975
3573
|
"api-version": Schema.String,
|
|
1976
3574
|
}).pipe(T.Http({
|
|
1977
3575
|
method: "GET",
|
|
@@ -1981,16 +3579,37 @@ export const ProjectsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
1981
3579
|
export const ProjectsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
1982
3580
|
nextLink: Schema.optional(Schema.String),
|
|
1983
3581
|
value: Schema.optional(Schema.Array(Schema.Struct({
|
|
1984
|
-
|
|
3582
|
+
id: Schema.optional(Schema.String),
|
|
3583
|
+
name: Schema.optional(Schema.String),
|
|
3584
|
+
type: Schema.optional(Schema.String),
|
|
3585
|
+
systemData: Schema.optional(Schema.Struct({
|
|
3586
|
+
createdBy: Schema.optional(Schema.String),
|
|
3587
|
+
createdByType: Schema.optional(Schema.Literals([
|
|
3588
|
+
"User",
|
|
3589
|
+
"Application",
|
|
3590
|
+
"ManagedIdentity",
|
|
3591
|
+
"Key",
|
|
3592
|
+
])),
|
|
3593
|
+
createdAt: Schema.optional(Schema.String),
|
|
3594
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
3595
|
+
lastModifiedByType: Schema.optional(Schema.Literals([
|
|
3596
|
+
"User",
|
|
3597
|
+
"Application",
|
|
3598
|
+
"ManagedIdentity",
|
|
3599
|
+
"Key",
|
|
3600
|
+
])),
|
|
3601
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
3602
|
+
})),
|
|
1985
3603
|
}))),
|
|
1986
3604
|
});
|
|
1987
3605
|
// The operation
|
|
1988
3606
|
/**
|
|
1989
3607
|
* Returns all the projects in a Cognitive Services account.
|
|
1990
3608
|
*
|
|
1991
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
1992
3609
|
* @param api-version - The API version to use for this operation.
|
|
1993
3610
|
* @param subscriptionId - The ID of the target subscription.
|
|
3611
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3612
|
+
* @param accountName - The name of Cognitive Services account.
|
|
1994
3613
|
*/
|
|
1995
3614
|
export const ProjectsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
1996
3615
|
inputSchema: ProjectsListInput,
|
|
@@ -1998,8 +3617,10 @@ export const ProjectsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
1998
3617
|
}));
|
|
1999
3618
|
// Input Schema
|
|
2000
3619
|
export const ProjectsUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2001
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2002
3620
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3621
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3622
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3623
|
+
projectName: Schema.String.pipe(T.PathParam()),
|
|
2003
3624
|
"api-version": Schema.String,
|
|
2004
3625
|
}).pipe(T.Http({
|
|
2005
3626
|
method: "PATCH",
|
|
@@ -2007,15 +3628,27 @@ export const ProjectsUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2007
3628
|
}));
|
|
2008
3629
|
// Output Schema
|
|
2009
3630
|
export const ProjectsUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2010
|
-
|
|
3631
|
+
id: Schema.optional(Schema.String),
|
|
3632
|
+
name: Schema.optional(Schema.String),
|
|
3633
|
+
type: Schema.optional(Schema.String),
|
|
3634
|
+
systemData: Schema.optional(Schema.Struct({
|
|
3635
|
+
createdBy: Schema.optional(Schema.String),
|
|
3636
|
+
createdByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
3637
|
+
createdAt: Schema.optional(Schema.String),
|
|
3638
|
+
lastModifiedBy: Schema.optional(Schema.String),
|
|
3639
|
+
lastModifiedByType: Schema.optional(Schema.Literals(["User", "Application", "ManagedIdentity", "Key"])),
|
|
3640
|
+
lastModifiedAt: Schema.optional(Schema.String),
|
|
3641
|
+
})),
|
|
2011
3642
|
});
|
|
2012
3643
|
// The operation
|
|
2013
3644
|
/**
|
|
2014
3645
|
* Updates a Cognitive Services Project
|
|
2015
3646
|
*
|
|
2016
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2017
3647
|
* @param api-version - The API version to use for this operation.
|
|
2018
3648
|
* @param subscriptionId - The ID of the target subscription.
|
|
3649
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3650
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3651
|
+
* @param projectName - The name of Cognitive Services account's project.
|
|
2019
3652
|
*/
|
|
2020
3653
|
export const ProjectsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2021
3654
|
inputSchema: ProjectsUpdateInput,
|
|
@@ -2025,6 +3658,7 @@ export const ProjectsUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2025
3658
|
export const QuotaTiersCreateOrUpdateInput =
|
|
2026
3659
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2027
3660
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3661
|
+
default: Schema.String.pipe(T.PathParam()),
|
|
2028
3662
|
"api-version": Schema.String,
|
|
2029
3663
|
}).pipe(T.Http({
|
|
2030
3664
|
method: "PUT",
|
|
@@ -2039,8 +3673,9 @@ export const QuotaTiersCreateOrUpdateOutput =
|
|
|
2039
3673
|
*
|
|
2040
3674
|
* Update the Quota Tier information for the given subscription. QuotaTiers is a subscription wide resource type. It holds current tier information.
|
|
2041
3675
|
*
|
|
2042
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
2043
3676
|
* @param api-version - The API version to use for this operation.
|
|
3677
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
3678
|
+
* @param default - Default parameter. Leave the value as default.
|
|
2044
3679
|
*/
|
|
2045
3680
|
export const QuotaTiersCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2046
3681
|
inputSchema: QuotaTiersCreateOrUpdateInput,
|
|
@@ -2049,6 +3684,7 @@ export const QuotaTiersCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(()
|
|
|
2049
3684
|
// Input Schema
|
|
2050
3685
|
export const QuotaTiersGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2051
3686
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3687
|
+
default: Schema.String.pipe(T.PathParam()),
|
|
2052
3688
|
"api-version": Schema.String,
|
|
2053
3689
|
}).pipe(T.Http({
|
|
2054
3690
|
method: "GET",
|
|
@@ -2062,8 +3698,9 @@ export const QuotaTiersGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({})
|
|
|
2062
3698
|
*
|
|
2063
3699
|
* Gets the Quota Tier information for the given subscription. QuotaTiers is a subscription wide resource type. It holds current tier information.
|
|
2064
3700
|
*
|
|
2065
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
2066
3701
|
* @param api-version - The API version to use for this operation.
|
|
3702
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
3703
|
+
* @param default - Default parameter. Leave the value as default.
|
|
2067
3704
|
*/
|
|
2068
3705
|
export const QuotaTiersGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2069
3706
|
inputSchema: QuotaTiersGetInput,
|
|
@@ -2099,6 +3736,7 @@ export const QuotaTiersListBySubscription =
|
|
|
2099
3736
|
// Input Schema
|
|
2100
3737
|
export const QuotaTiersUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2101
3738
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3739
|
+
default: Schema.String.pipe(T.PathParam()),
|
|
2102
3740
|
"api-version": Schema.String,
|
|
2103
3741
|
}).pipe(T.Http({
|
|
2104
3742
|
method: "PATCH",
|
|
@@ -2112,8 +3750,9 @@ export const QuotaTiersUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
2112
3750
|
*
|
|
2113
3751
|
* Update the Quota Tier information for the given subscription. QuotaTiers is a subscription wide resource type. It holds current tier information.
|
|
2114
3752
|
*
|
|
2115
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
2116
3753
|
* @param api-version - The API version to use for this operation.
|
|
3754
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
3755
|
+
* @param default - Default parameter. Leave the value as default.
|
|
2117
3756
|
*/
|
|
2118
3757
|
export const QuotaTiersUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2119
3758
|
inputSchema: QuotaTiersUpdateInput,
|
|
@@ -2122,8 +3761,10 @@ export const QuotaTiersUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2122
3761
|
// Input Schema
|
|
2123
3762
|
export const RaiBlocklistItemsBatchAddInput =
|
|
2124
3763
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2125
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2126
3764
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3765
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3766
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3767
|
+
raiBlocklistName: Schema.String.pipe(T.PathParam()),
|
|
2127
3768
|
"api-version": Schema.String,
|
|
2128
3769
|
}).pipe(T.Http({
|
|
2129
3770
|
method: "POST",
|
|
@@ -2136,9 +3777,11 @@ export const RaiBlocklistItemsBatchAddOutput =
|
|
|
2136
3777
|
/**
|
|
2137
3778
|
* Batch operation to add blocklist items.
|
|
2138
3779
|
*
|
|
2139
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2140
3780
|
* @param api-version - The API version to use for this operation.
|
|
2141
3781
|
* @param subscriptionId - The ID of the target subscription.
|
|
3782
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3783
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3784
|
+
* @param raiBlocklistName - The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
2142
3785
|
*/
|
|
2143
3786
|
export const RaiBlocklistItemsBatchAdd = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2144
3787
|
inputSchema: RaiBlocklistItemsBatchAddInput,
|
|
@@ -2147,8 +3790,10 @@ export const RaiBlocklistItemsBatchAdd = /*@__PURE__*/ /*#__PURE__*/ API.make(()
|
|
|
2147
3790
|
// Input Schema
|
|
2148
3791
|
export const RaiBlocklistItemsBatchDeleteInput =
|
|
2149
3792
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2150
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2151
3793
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3794
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3795
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3796
|
+
raiBlocklistName: Schema.String.pipe(T.PathParam()),
|
|
2152
3797
|
"api-version": Schema.String,
|
|
2153
3798
|
}).pipe(T.Http({
|
|
2154
3799
|
method: "POST",
|
|
@@ -2161,9 +3806,11 @@ export const RaiBlocklistItemsBatchDeleteOutput =
|
|
|
2161
3806
|
/**
|
|
2162
3807
|
* Batch operation to delete blocklist items.
|
|
2163
3808
|
*
|
|
2164
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2165
3809
|
* @param api-version - The API version to use for this operation.
|
|
2166
3810
|
* @param subscriptionId - The ID of the target subscription.
|
|
3811
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3812
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3813
|
+
* @param raiBlocklistName - The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
2167
3814
|
*/
|
|
2168
3815
|
export const RaiBlocklistItemsBatchDelete =
|
|
2169
3816
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -2173,8 +3820,11 @@ export const RaiBlocklistItemsBatchDelete =
|
|
|
2173
3820
|
// Input Schema
|
|
2174
3821
|
export const RaiBlocklistItemsCreateOrUpdateInput =
|
|
2175
3822
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2176
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2177
3823
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3824
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3825
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3826
|
+
raiBlocklistName: Schema.String.pipe(T.PathParam()),
|
|
3827
|
+
raiBlocklistItemName: Schema.String.pipe(T.PathParam()),
|
|
2178
3828
|
"api-version": Schema.String,
|
|
2179
3829
|
}).pipe(T.Http({
|
|
2180
3830
|
method: "PUT",
|
|
@@ -2187,9 +3837,12 @@ export const RaiBlocklistItemsCreateOrUpdateOutput =
|
|
|
2187
3837
|
/**
|
|
2188
3838
|
* Update the state of specified blocklist item associated with the Azure OpenAI account.
|
|
2189
3839
|
*
|
|
2190
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2191
3840
|
* @param api-version - The API version to use for this operation.
|
|
2192
3841
|
* @param subscriptionId - The ID of the target subscription.
|
|
3842
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3843
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3844
|
+
* @param raiBlocklistName - The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
3845
|
+
* @param raiBlocklistItemName - The name of the RaiBlocklist Item associated with the custom blocklist
|
|
2193
3846
|
*/
|
|
2194
3847
|
export const RaiBlocklistItemsCreateOrUpdate =
|
|
2195
3848
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
@@ -2199,8 +3852,11 @@ export const RaiBlocklistItemsCreateOrUpdate =
|
|
|
2199
3852
|
// Input Schema
|
|
2200
3853
|
export const RaiBlocklistItemsDeleteInput =
|
|
2201
3854
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2202
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2203
3855
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3856
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3857
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3858
|
+
raiBlocklistName: Schema.String.pipe(T.PathParam()),
|
|
3859
|
+
raiBlocklistItemName: Schema.String.pipe(T.PathParam()),
|
|
2204
3860
|
"api-version": Schema.String,
|
|
2205
3861
|
}).pipe(T.Http({
|
|
2206
3862
|
method: "DELETE",
|
|
@@ -2213,9 +3869,12 @@ export const RaiBlocklistItemsDeleteOutput =
|
|
|
2213
3869
|
/**
|
|
2214
3870
|
* Deletes the specified blocklist Item associated with the custom blocklist.
|
|
2215
3871
|
*
|
|
2216
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2217
3872
|
* @param api-version - The API version to use for this operation.
|
|
2218
3873
|
* @param subscriptionId - The ID of the target subscription.
|
|
3874
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3875
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3876
|
+
* @param raiBlocklistName - The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
3877
|
+
* @param raiBlocklistItemName - The name of the RaiBlocklist Item associated with the custom blocklist
|
|
2219
3878
|
*/
|
|
2220
3879
|
export const RaiBlocklistItemsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2221
3880
|
inputSchema: RaiBlocklistItemsDeleteInput,
|
|
@@ -2224,8 +3883,11 @@ export const RaiBlocklistItemsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() =
|
|
|
2224
3883
|
// Input Schema
|
|
2225
3884
|
export const RaiBlocklistItemsGetInput =
|
|
2226
3885
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2227
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2228
3886
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3887
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3888
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3889
|
+
raiBlocklistName: Schema.String.pipe(T.PathParam()),
|
|
3890
|
+
raiBlocklistItemName: Schema.String.pipe(T.PathParam()),
|
|
2229
3891
|
"api-version": Schema.String,
|
|
2230
3892
|
}).pipe(T.Http({
|
|
2231
3893
|
method: "GET",
|
|
@@ -2238,9 +3900,12 @@ export const RaiBlocklistItemsGetOutput =
|
|
|
2238
3900
|
/**
|
|
2239
3901
|
* Gets the specified custom blocklist Item associated with the custom blocklist.
|
|
2240
3902
|
*
|
|
2241
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2242
3903
|
* @param api-version - The API version to use for this operation.
|
|
2243
3904
|
* @param subscriptionId - The ID of the target subscription.
|
|
3905
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3906
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3907
|
+
* @param raiBlocklistName - The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
3908
|
+
* @param raiBlocklistItemName - The name of the RaiBlocklist Item associated with the custom blocklist
|
|
2244
3909
|
*/
|
|
2245
3910
|
export const RaiBlocklistItemsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2246
3911
|
inputSchema: RaiBlocklistItemsGetInput,
|
|
@@ -2249,8 +3914,10 @@ export const RaiBlocklistItemsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
2249
3914
|
// Input Schema
|
|
2250
3915
|
export const RaiBlocklistItemsListInput =
|
|
2251
3916
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2252
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2253
3917
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3918
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3919
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3920
|
+
raiBlocklistName: Schema.String.pipe(T.PathParam()),
|
|
2254
3921
|
"api-version": Schema.String,
|
|
2255
3922
|
}).pipe(T.Http({
|
|
2256
3923
|
method: "GET",
|
|
@@ -2266,9 +3933,11 @@ export const RaiBlocklistItemsListOutput =
|
|
|
2266
3933
|
/**
|
|
2267
3934
|
* Gets the blocklist items associated with the custom blocklist.
|
|
2268
3935
|
*
|
|
2269
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2270
3936
|
* @param api-version - The API version to use for this operation.
|
|
2271
3937
|
* @param subscriptionId - The ID of the target subscription.
|
|
3938
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3939
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3940
|
+
* @param raiBlocklistName - The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
2272
3941
|
*/
|
|
2273
3942
|
export const RaiBlocklistItemsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2274
3943
|
inputSchema: RaiBlocklistItemsListInput,
|
|
@@ -2277,8 +3946,10 @@ export const RaiBlocklistItemsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
|
|
|
2277
3946
|
// Input Schema
|
|
2278
3947
|
export const RaiBlocklistsCreateOrUpdateInput =
|
|
2279
3948
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2280
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2281
3949
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3950
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3951
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3952
|
+
raiBlocklistName: Schema.String.pipe(T.PathParam()),
|
|
2282
3953
|
"api-version": Schema.String,
|
|
2283
3954
|
}).pipe(T.Http({
|
|
2284
3955
|
method: "PUT",
|
|
@@ -2291,9 +3962,11 @@ export const RaiBlocklistsCreateOrUpdateOutput =
|
|
|
2291
3962
|
/**
|
|
2292
3963
|
* Update the state of specified blocklist associated with the Azure OpenAI account.
|
|
2293
3964
|
*
|
|
2294
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2295
3965
|
* @param api-version - The API version to use for this operation.
|
|
2296
3966
|
* @param subscriptionId - The ID of the target subscription.
|
|
3967
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3968
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3969
|
+
* @param raiBlocklistName - The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
2297
3970
|
*/
|
|
2298
3971
|
export const RaiBlocklistsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2299
3972
|
inputSchema: RaiBlocklistsCreateOrUpdateInput,
|
|
@@ -2302,8 +3975,10 @@ export const RaiBlocklistsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
2302
3975
|
// Input Schema
|
|
2303
3976
|
export const RaiBlocklistsDeleteInput =
|
|
2304
3977
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2305
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2306
3978
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
3979
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
3980
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
3981
|
+
raiBlocklistName: Schema.String.pipe(T.PathParam()),
|
|
2307
3982
|
"api-version": Schema.String,
|
|
2308
3983
|
}).pipe(T.Http({
|
|
2309
3984
|
method: "DELETE",
|
|
@@ -2316,9 +3991,11 @@ export const RaiBlocklistsDeleteOutput =
|
|
|
2316
3991
|
/**
|
|
2317
3992
|
* Deletes the specified custom blocklist associated with the Azure OpenAI account.
|
|
2318
3993
|
*
|
|
2319
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2320
3994
|
* @param api-version - The API version to use for this operation.
|
|
2321
3995
|
* @param subscriptionId - The ID of the target subscription.
|
|
3996
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
3997
|
+
* @param accountName - The name of Cognitive Services account.
|
|
3998
|
+
* @param raiBlocklistName - The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
2322
3999
|
*/
|
|
2323
4000
|
export const RaiBlocklistsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2324
4001
|
inputSchema: RaiBlocklistsDeleteInput,
|
|
@@ -2326,8 +4003,10 @@ export const RaiBlocklistsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2326
4003
|
}));
|
|
2327
4004
|
// Input Schema
|
|
2328
4005
|
export const RaiBlocklistsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2329
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2330
4006
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4007
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
4008
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
4009
|
+
raiBlocklistName: Schema.String.pipe(T.PathParam()),
|
|
2331
4010
|
"api-version": Schema.String,
|
|
2332
4011
|
}).pipe(T.Http({
|
|
2333
4012
|
method: "GET",
|
|
@@ -2339,9 +4018,11 @@ export const RaiBlocklistsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
2339
4018
|
/**
|
|
2340
4019
|
* Gets the specified custom blocklist associated with the Azure OpenAI account.
|
|
2341
4020
|
*
|
|
2342
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2343
4021
|
* @param api-version - The API version to use for this operation.
|
|
2344
4022
|
* @param subscriptionId - The ID of the target subscription.
|
|
4023
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
4024
|
+
* @param accountName - The name of Cognitive Services account.
|
|
4025
|
+
* @param raiBlocklistName - The name of the RaiBlocklist associated with the Cognitive Services Account
|
|
2345
4026
|
*/
|
|
2346
4027
|
export const RaiBlocklistsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2347
4028
|
inputSchema: RaiBlocklistsGetInput,
|
|
@@ -2349,8 +4030,9 @@ export const RaiBlocklistsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2349
4030
|
}));
|
|
2350
4031
|
// Input Schema
|
|
2351
4032
|
export const RaiBlocklistsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2352
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2353
4033
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4034
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
4035
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2354
4036
|
"api-version": Schema.String,
|
|
2355
4037
|
}).pipe(T.Http({
|
|
2356
4038
|
method: "GET",
|
|
@@ -2366,9 +4048,10 @@ export const RaiBlocklistsListOutput =
|
|
|
2366
4048
|
/**
|
|
2367
4049
|
* Gets the custom blocklists associated with the Azure OpenAI account.
|
|
2368
4050
|
*
|
|
2369
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2370
4051
|
* @param api-version - The API version to use for this operation.
|
|
2371
4052
|
* @param subscriptionId - The ID of the target subscription.
|
|
4053
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
4054
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2372
4055
|
*/
|
|
2373
4056
|
export const RaiBlocklistsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2374
4057
|
inputSchema: RaiBlocklistsListInput,
|
|
@@ -2378,6 +4061,8 @@ export const RaiBlocklistsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2378
4061
|
export const RaiContentFiltersGetInput =
|
|
2379
4062
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2380
4063
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4064
|
+
location: Schema.String.pipe(T.PathParam()),
|
|
4065
|
+
filterName: Schema.String.pipe(T.PathParam()),
|
|
2381
4066
|
"api-version": Schema.String,
|
|
2382
4067
|
}).pipe(T.Http({
|
|
2383
4068
|
method: "GET",
|
|
@@ -2390,8 +4075,10 @@ export const RaiContentFiltersGetOutput =
|
|
|
2390
4075
|
/**
|
|
2391
4076
|
* Get Content Filters by Name.
|
|
2392
4077
|
*
|
|
2393
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
2394
4078
|
* @param api-version - The API version to use for this operation.
|
|
4079
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
4080
|
+
* @param location - The name of Azure region.
|
|
4081
|
+
* @param filterName - The name of the RAI Content Filter.
|
|
2395
4082
|
*/
|
|
2396
4083
|
export const RaiContentFiltersGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2397
4084
|
inputSchema: RaiContentFiltersGetInput,
|
|
@@ -2401,6 +4088,7 @@ export const RaiContentFiltersGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => (
|
|
|
2401
4088
|
export const RaiContentFiltersListInput =
|
|
2402
4089
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2403
4090
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4091
|
+
location: Schema.String.pipe(T.PathParam()),
|
|
2404
4092
|
"api-version": Schema.String,
|
|
2405
4093
|
}).pipe(T.Http({
|
|
2406
4094
|
method: "GET",
|
|
@@ -2416,18 +4104,126 @@ export const RaiContentFiltersListOutput =
|
|
|
2416
4104
|
/**
|
|
2417
4105
|
* List Content Filters types.
|
|
2418
4106
|
*
|
|
2419
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
2420
4107
|
* @param api-version - The API version to use for this operation.
|
|
4108
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
4109
|
+
* @param location - The name of Azure region.
|
|
2421
4110
|
*/
|
|
2422
4111
|
export const RaiContentFiltersList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2423
4112
|
inputSchema: RaiContentFiltersListInput,
|
|
2424
4113
|
outputSchema: RaiContentFiltersListOutput,
|
|
2425
4114
|
}));
|
|
2426
4115
|
// Input Schema
|
|
4116
|
+
export const RaiExternalSafetyProviderCreateOrUpdateInput =
|
|
4117
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4118
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4119
|
+
safetyProviderName: Schema.String.pipe(T.PathParam()),
|
|
4120
|
+
"api-version": Schema.String,
|
|
4121
|
+
}).pipe(T.Http({
|
|
4122
|
+
method: "PUT",
|
|
4123
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/raiExternalSafetyProviders/{safetyProviderName}",
|
|
4124
|
+
}));
|
|
4125
|
+
// Output Schema
|
|
4126
|
+
export const RaiExternalSafetyProviderCreateOrUpdateOutput =
|
|
4127
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
4128
|
+
// The operation
|
|
4129
|
+
/**
|
|
4130
|
+
* Create the rai safety provider associated with the subscription.
|
|
4131
|
+
*
|
|
4132
|
+
* @param api-version - The API version to use for this operation.
|
|
4133
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
4134
|
+
* @param safetyProviderName - The name of the Rai External Safety Provider associated with the Cognitive Services Account
|
|
4135
|
+
*/
|
|
4136
|
+
export const RaiExternalSafetyProviderCreateOrUpdate =
|
|
4137
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4138
|
+
inputSchema: RaiExternalSafetyProviderCreateOrUpdateInput,
|
|
4139
|
+
outputSchema: RaiExternalSafetyProviderCreateOrUpdateOutput,
|
|
4140
|
+
}));
|
|
4141
|
+
// Input Schema
|
|
4142
|
+
export const RaiExternalSafetyProviderDeleteInput =
|
|
4143
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4144
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4145
|
+
safetyProviderName: Schema.String.pipe(T.PathParam()),
|
|
4146
|
+
"api-version": Schema.String,
|
|
4147
|
+
}).pipe(T.Http({
|
|
4148
|
+
method: "DELETE",
|
|
4149
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/raiExternalSafetyProviders/{safetyProviderName}",
|
|
4150
|
+
}));
|
|
4151
|
+
// Output Schema
|
|
4152
|
+
export const RaiExternalSafetyProviderDeleteOutput =
|
|
4153
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
4154
|
+
// The operation
|
|
4155
|
+
/**
|
|
4156
|
+
* Deletes the specified custom topic associated with the subscription.
|
|
4157
|
+
*
|
|
4158
|
+
* @param api-version - The API version to use for this operation.
|
|
4159
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
4160
|
+
* @param safetyProviderName - The name of the Rai External Safety Provider associated with the Cognitive Services Account
|
|
4161
|
+
*/
|
|
4162
|
+
export const RaiExternalSafetyProviderDelete =
|
|
4163
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4164
|
+
inputSchema: RaiExternalSafetyProviderDeleteInput,
|
|
4165
|
+
outputSchema: RaiExternalSafetyProviderDeleteOutput,
|
|
4166
|
+
}));
|
|
4167
|
+
// Input Schema
|
|
4168
|
+
export const RaiExternalSafetyProviderGetInput =
|
|
4169
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4170
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4171
|
+
safetyProviderName: Schema.String.pipe(T.PathParam()),
|
|
4172
|
+
"api-version": Schema.String,
|
|
4173
|
+
}).pipe(T.Http({
|
|
4174
|
+
method: "GET",
|
|
4175
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/raiExternalSafetyProviders/{safetyProviderName}",
|
|
4176
|
+
}));
|
|
4177
|
+
// Output Schema
|
|
4178
|
+
export const RaiExternalSafetyProviderGetOutput =
|
|
4179
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
4180
|
+
// The operation
|
|
4181
|
+
/**
|
|
4182
|
+
* Gets the specified external safety provider associated with the Subscription
|
|
4183
|
+
*
|
|
4184
|
+
* @param api-version - The API version to use for this operation.
|
|
4185
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
4186
|
+
* @param safetyProviderName - The name of the Rai External Safety Provider associated with the Cognitive Services Account
|
|
4187
|
+
*/
|
|
4188
|
+
export const RaiExternalSafetyProviderGet =
|
|
4189
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4190
|
+
inputSchema: RaiExternalSafetyProviderGetInput,
|
|
4191
|
+
outputSchema: RaiExternalSafetyProviderGetOutput,
|
|
4192
|
+
}));
|
|
4193
|
+
// Input Schema
|
|
4194
|
+
export const RaiExternalSafetyProvidersListInput =
|
|
4195
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4196
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4197
|
+
"api-version": Schema.String,
|
|
4198
|
+
}).pipe(T.Http({
|
|
4199
|
+
method: "GET",
|
|
4200
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/raiExternalSafetyProviders",
|
|
4201
|
+
}));
|
|
4202
|
+
// Output Schema
|
|
4203
|
+
export const RaiExternalSafetyProvidersListOutput =
|
|
4204
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4205
|
+
nextLink: Schema.optional(Schema.String),
|
|
4206
|
+
value: Schema.optional(Schema.Array(Schema.Struct({}))),
|
|
4207
|
+
});
|
|
4208
|
+
// The operation
|
|
4209
|
+
/**
|
|
4210
|
+
* Gets the safety providers associated with the subscription
|
|
4211
|
+
*
|
|
4212
|
+
* @param api-version - The API version to use for this operation.
|
|
4213
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
4214
|
+
*/
|
|
4215
|
+
export const RaiExternalSafetyProvidersList =
|
|
4216
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4217
|
+
inputSchema: RaiExternalSafetyProvidersListInput,
|
|
4218
|
+
outputSchema: RaiExternalSafetyProvidersListOutput,
|
|
4219
|
+
}));
|
|
4220
|
+
// Input Schema
|
|
2427
4221
|
export const RaiPoliciesCreateOrUpdateInput =
|
|
2428
4222
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2429
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2430
4223
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4224
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
4225
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
4226
|
+
raiPolicyName: Schema.String.pipe(T.PathParam()),
|
|
2431
4227
|
"api-version": Schema.String,
|
|
2432
4228
|
}).pipe(T.Http({
|
|
2433
4229
|
method: "PUT",
|
|
@@ -2440,9 +4236,11 @@ export const RaiPoliciesCreateOrUpdateOutput =
|
|
|
2440
4236
|
/**
|
|
2441
4237
|
* Update the state of specified Content Filters associated with the Azure OpenAI account.
|
|
2442
4238
|
*
|
|
2443
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2444
4239
|
* @param api-version - The API version to use for this operation.
|
|
2445
4240
|
* @param subscriptionId - The ID of the target subscription.
|
|
4241
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
4242
|
+
* @param accountName - The name of Cognitive Services account.
|
|
4243
|
+
* @param raiPolicyName - The name of the RaiPolicy associated with the Cognitive Services Account
|
|
2446
4244
|
*/
|
|
2447
4245
|
export const RaiPoliciesCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2448
4246
|
inputSchema: RaiPoliciesCreateOrUpdateInput,
|
|
@@ -2450,8 +4248,10 @@ export const RaiPoliciesCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(()
|
|
|
2450
4248
|
}));
|
|
2451
4249
|
// Input Schema
|
|
2452
4250
|
export const RaiPoliciesDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2453
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2454
4251
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4252
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
4253
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
4254
|
+
raiPolicyName: Schema.String.pipe(T.PathParam()),
|
|
2455
4255
|
"api-version": Schema.String,
|
|
2456
4256
|
}).pipe(T.Http({
|
|
2457
4257
|
method: "DELETE",
|
|
@@ -2463,9 +4263,11 @@ export const RaiPoliciesDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
|
2463
4263
|
/**
|
|
2464
4264
|
* Deletes the specified Content Filters associated with the Azure OpenAI account.
|
|
2465
4265
|
*
|
|
2466
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2467
4266
|
* @param api-version - The API version to use for this operation.
|
|
2468
4267
|
* @param subscriptionId - The ID of the target subscription.
|
|
4268
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
4269
|
+
* @param accountName - The name of Cognitive Services account.
|
|
4270
|
+
* @param raiPolicyName - The name of the RaiPolicy associated with the Cognitive Services Account
|
|
2469
4271
|
*/
|
|
2470
4272
|
export const RaiPoliciesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2471
4273
|
inputSchema: RaiPoliciesDeleteInput,
|
|
@@ -2473,8 +4275,10 @@ export const RaiPoliciesDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2473
4275
|
}));
|
|
2474
4276
|
// Input Schema
|
|
2475
4277
|
export const RaiPoliciesGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2476
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2477
4278
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4279
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
4280
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
4281
|
+
raiPolicyName: Schema.String.pipe(T.PathParam()),
|
|
2478
4282
|
"api-version": Schema.String,
|
|
2479
4283
|
}).pipe(T.Http({
|
|
2480
4284
|
method: "GET",
|
|
@@ -2486,9 +4290,11 @@ export const RaiPoliciesGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}
|
|
|
2486
4290
|
/**
|
|
2487
4291
|
* Gets the specified Content Filters associated with the Azure OpenAI account.
|
|
2488
4292
|
*
|
|
2489
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2490
4293
|
* @param api-version - The API version to use for this operation.
|
|
2491
4294
|
* @param subscriptionId - The ID of the target subscription.
|
|
4295
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
4296
|
+
* @param accountName - The name of Cognitive Services account.
|
|
4297
|
+
* @param raiPolicyName - The name of the RaiPolicy associated with the Cognitive Services Account
|
|
2492
4298
|
*/
|
|
2493
4299
|
export const RaiPoliciesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2494
4300
|
inputSchema: RaiPoliciesGetInput,
|
|
@@ -2496,8 +4302,9 @@ export const RaiPoliciesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2496
4302
|
}));
|
|
2497
4303
|
// Input Schema
|
|
2498
4304
|
export const RaiPoliciesListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2499
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2500
4305
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4306
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
4307
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2501
4308
|
"api-version": Schema.String,
|
|
2502
4309
|
}).pipe(T.Http({
|
|
2503
4310
|
method: "GET",
|
|
@@ -2512,19 +4319,136 @@ export const RaiPoliciesListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2512
4319
|
/**
|
|
2513
4320
|
* Gets the content filters associated with the Azure OpenAI account.
|
|
2514
4321
|
*
|
|
2515
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2516
4322
|
* @param api-version - The API version to use for this operation.
|
|
2517
4323
|
* @param subscriptionId - The ID of the target subscription.
|
|
4324
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
4325
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2518
4326
|
*/
|
|
2519
4327
|
export const RaiPoliciesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2520
4328
|
inputSchema: RaiPoliciesListInput,
|
|
2521
4329
|
outputSchema: RaiPoliciesListOutput,
|
|
2522
4330
|
}));
|
|
2523
4331
|
// Input Schema
|
|
2524
|
-
export const
|
|
4332
|
+
export const RaiToolLabelsCreateOrUpdateInput =
|
|
4333
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4334
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4335
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
4336
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
4337
|
+
raiToolConnectionName: Schema.String.pipe(T.PathParam()),
|
|
4338
|
+
"api-version": Schema.String,
|
|
4339
|
+
}).pipe(T.Http({
|
|
4340
|
+
method: "PUT",
|
|
4341
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/raiToolLabels/{raiToolConnectionName}",
|
|
4342
|
+
}));
|
|
4343
|
+
// Output Schema
|
|
4344
|
+
export const RaiToolLabelsCreateOrUpdateOutput =
|
|
4345
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
4346
|
+
// The operation
|
|
4347
|
+
/**
|
|
4348
|
+
* Creates the RAI Tool Label associated with the Azure OpenAI account.
|
|
4349
|
+
*
|
|
4350
|
+
* @param api-version - The API version to use for this operation.
|
|
4351
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
4352
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
4353
|
+
* @param accountName - The name of Cognitive Services account.
|
|
4354
|
+
* @param raiToolConnectionName - The name of the Rai Tool Label
|
|
4355
|
+
*/
|
|
4356
|
+
export const RaiToolLabelsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4357
|
+
inputSchema: RaiToolLabelsCreateOrUpdateInput,
|
|
4358
|
+
outputSchema: RaiToolLabelsCreateOrUpdateOutput,
|
|
4359
|
+
}));
|
|
4360
|
+
// Input Schema
|
|
4361
|
+
export const RaiToolLabelsDeleteInput =
|
|
2525
4362
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4363
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4364
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
4365
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
4366
|
+
raiToolConnectionName: Schema.String.pipe(T.PathParam()),
|
|
4367
|
+
"api-version": Schema.String,
|
|
4368
|
+
}).pipe(T.Http({
|
|
4369
|
+
method: "DELETE",
|
|
4370
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/raiToolLabels/{raiToolConnectionName}",
|
|
4371
|
+
}));
|
|
4372
|
+
// Output Schema
|
|
4373
|
+
export const RaiToolLabelsDeleteOutput =
|
|
4374
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
4375
|
+
// The operation
|
|
4376
|
+
/**
|
|
4377
|
+
* Deletes the specified RAI Tool Label associated with the Azure OpenAI account.
|
|
4378
|
+
*
|
|
4379
|
+
* @param api-version - The API version to use for this operation.
|
|
4380
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
4381
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
4382
|
+
* @param accountName - The name of Cognitive Services account.
|
|
4383
|
+
* @param raiToolConnectionName - The name of the Rai Tool Label
|
|
4384
|
+
*/
|
|
4385
|
+
export const RaiToolLabelsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4386
|
+
inputSchema: RaiToolLabelsDeleteInput,
|
|
4387
|
+
outputSchema: RaiToolLabelsDeleteOutput,
|
|
4388
|
+
}));
|
|
4389
|
+
// Input Schema
|
|
4390
|
+
export const RaiToolLabelsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4391
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4392
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
4393
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
4394
|
+
raiToolConnectionName: Schema.String.pipe(T.PathParam()),
|
|
4395
|
+
"api-version": Schema.String,
|
|
4396
|
+
}).pipe(T.Http({
|
|
4397
|
+
method: "GET",
|
|
4398
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/raiToolLabels/{raiToolConnectionName}",
|
|
4399
|
+
}));
|
|
4400
|
+
// Output Schema
|
|
4401
|
+
export const RaiToolLabelsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
4402
|
+
// The operation
|
|
4403
|
+
/**
|
|
4404
|
+
* Gets the specified RAI Tool Label associated with the Azure OpenAI account.
|
|
4405
|
+
*
|
|
4406
|
+
* @param api-version - The API version to use for this operation.
|
|
4407
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
4408
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
4409
|
+
* @param accountName - The name of Cognitive Services account.
|
|
4410
|
+
* @param raiToolConnectionName - The name of the Rai Tool Label
|
|
4411
|
+
*/
|
|
4412
|
+
export const RaiToolLabelsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4413
|
+
inputSchema: RaiToolLabelsGetInput,
|
|
4414
|
+
outputSchema: RaiToolLabelsGetOutput,
|
|
4415
|
+
}));
|
|
4416
|
+
// Input Schema
|
|
4417
|
+
export const RaiToolLabelsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4418
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
2526
4419
|
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
4420
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
4421
|
+
"api-version": Schema.String,
|
|
4422
|
+
}).pipe(T.Http({
|
|
4423
|
+
method: "GET",
|
|
4424
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/raiToolLabels",
|
|
4425
|
+
}));
|
|
4426
|
+
// Output Schema
|
|
4427
|
+
export const RaiToolLabelsListOutput =
|
|
4428
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4429
|
+
nextLink: Schema.optional(Schema.String),
|
|
4430
|
+
value: Schema.optional(Schema.Array(Schema.Struct({}))),
|
|
4431
|
+
});
|
|
4432
|
+
// The operation
|
|
4433
|
+
/**
|
|
4434
|
+
* Lists all RAI Tool Labels associated with the Azure OpenAI account.
|
|
4435
|
+
*
|
|
4436
|
+
* @param api-version - The API version to use for this operation.
|
|
4437
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
4438
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
4439
|
+
* @param accountName - The name of Cognitive Services account.
|
|
4440
|
+
*/
|
|
4441
|
+
export const RaiToolLabelsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4442
|
+
inputSchema: RaiToolLabelsListInput,
|
|
4443
|
+
outputSchema: RaiToolLabelsListOutput,
|
|
4444
|
+
}));
|
|
4445
|
+
// Input Schema
|
|
4446
|
+
export const RaiTopicsCreateOrUpdateInput =
|
|
4447
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2527
4448
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4449
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
4450
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
4451
|
+
raiTopicName: Schema.String.pipe(T.PathParam()),
|
|
2528
4452
|
"api-version": Schema.String,
|
|
2529
4453
|
}).pipe(T.Http({
|
|
2530
4454
|
method: "PUT",
|
|
@@ -2537,9 +4461,11 @@ export const RaiTopicsCreateOrUpdateOutput =
|
|
|
2537
4461
|
/**
|
|
2538
4462
|
* Create the rai topic associated with the Azure OpenAI account.
|
|
2539
4463
|
*
|
|
2540
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2541
4464
|
* @param api-version - The API version to use for this operation.
|
|
2542
4465
|
* @param subscriptionId - The ID of the target subscription.
|
|
4466
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
4467
|
+
* @param accountName - The name of Cognitive Services account.
|
|
4468
|
+
* @param raiTopicName - The name of the Rai Topic associated with the Cognitive Services Account
|
|
2543
4469
|
*/
|
|
2544
4470
|
export const RaiTopicsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2545
4471
|
inputSchema: RaiTopicsCreateOrUpdateInput,
|
|
@@ -2547,8 +4473,10 @@ export const RaiTopicsCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() =
|
|
|
2547
4473
|
}));
|
|
2548
4474
|
// Input Schema
|
|
2549
4475
|
export const RaiTopicsDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2550
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2551
4476
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4477
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
4478
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
4479
|
+
raiTopicName: Schema.String.pipe(T.PathParam()),
|
|
2552
4480
|
"api-version": Schema.String,
|
|
2553
4481
|
}).pipe(T.Http({
|
|
2554
4482
|
method: "DELETE",
|
|
@@ -2560,9 +4488,11 @@ export const RaiTopicsDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
|
2560
4488
|
/**
|
|
2561
4489
|
* Deletes the specified custom topic associated with the Azure OpenAI account.
|
|
2562
4490
|
*
|
|
2563
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2564
4491
|
* @param api-version - The API version to use for this operation.
|
|
2565
4492
|
* @param subscriptionId - The ID of the target subscription.
|
|
4493
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
4494
|
+
* @param accountName - The name of Cognitive Services account.
|
|
4495
|
+
* @param raiTopicName - The name of the Rai Topic associated with the Cognitive Services Account
|
|
2566
4496
|
*/
|
|
2567
4497
|
export const RaiTopicsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2568
4498
|
inputSchema: RaiTopicsDeleteInput,
|
|
@@ -2570,8 +4500,10 @@ export const RaiTopicsDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2570
4500
|
}));
|
|
2571
4501
|
// Input Schema
|
|
2572
4502
|
export const RaiTopicsGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2573
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2574
4503
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4504
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
4505
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
4506
|
+
raiTopicName: Schema.String.pipe(T.PathParam()),
|
|
2575
4507
|
"api-version": Schema.String,
|
|
2576
4508
|
}).pipe(T.Http({
|
|
2577
4509
|
method: "GET",
|
|
@@ -2583,9 +4515,11 @@ export const RaiTopicsGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
|
2583
4515
|
/**
|
|
2584
4516
|
* Gets the specified custom topic associated with the Azure OpenAI account.
|
|
2585
4517
|
*
|
|
2586
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2587
4518
|
* @param api-version - The API version to use for this operation.
|
|
2588
4519
|
* @param subscriptionId - The ID of the target subscription.
|
|
4520
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
4521
|
+
* @param accountName - The name of Cognitive Services account.
|
|
4522
|
+
* @param raiTopicName - The name of the Rai Topic associated with the Cognitive Services Account
|
|
2589
4523
|
*/
|
|
2590
4524
|
export const RaiTopicsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2591
4525
|
inputSchema: RaiTopicsGetInput,
|
|
@@ -2593,8 +4527,9 @@ export const RaiTopicsGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2593
4527
|
}));
|
|
2594
4528
|
// Input Schema
|
|
2595
4529
|
export const RaiTopicsListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2596
|
-
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
2597
4530
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4531
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
4532
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
2598
4533
|
"api-version": Schema.String,
|
|
2599
4534
|
}).pipe(T.Http({
|
|
2600
4535
|
method: "GET",
|
|
@@ -2609,9 +4544,10 @@ export const RaiTopicsListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2609
4544
|
/**
|
|
2610
4545
|
* Gets the custom topics associated with the Azure OpenAI account.
|
|
2611
4546
|
*
|
|
2612
|
-
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
2613
4547
|
* @param api-version - The API version to use for this operation.
|
|
2614
4548
|
* @param subscriptionId - The ID of the target subscription.
|
|
4549
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
4550
|
+
* @param accountName - The name of Cognitive Services account.
|
|
2615
4551
|
*/
|
|
2616
4552
|
export const RaiTopicsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2617
4553
|
inputSchema: RaiTopicsListInput,
|
|
@@ -2657,9 +4593,117 @@ export const ResourceSkusList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
|
2657
4593
|
outputSchema: ResourceSkusListOutput,
|
|
2658
4594
|
}));
|
|
2659
4595
|
// Input Schema
|
|
4596
|
+
export const SubscriptionRaiPolicyCreateOrUpdateInput =
|
|
4597
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4598
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4599
|
+
raiPolicyName: Schema.String.pipe(T.PathParam()),
|
|
4600
|
+
"api-version": Schema.String,
|
|
4601
|
+
}).pipe(T.Http({
|
|
4602
|
+
method: "PUT",
|
|
4603
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/raiPolicy/{raiPolicyName}",
|
|
4604
|
+
}));
|
|
4605
|
+
// Output Schema
|
|
4606
|
+
export const SubscriptionRaiPolicyCreateOrUpdateOutput =
|
|
4607
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
4608
|
+
// The operation
|
|
4609
|
+
/**
|
|
4610
|
+
* Update the state of specified Content Filters associated with the subscription.
|
|
4611
|
+
*
|
|
4612
|
+
* @param api-version - The API version to use for this operation.
|
|
4613
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
4614
|
+
* @param raiPolicyName - The name of the RaiPolicy associated with the Cognitive Services Account
|
|
4615
|
+
*/
|
|
4616
|
+
export const SubscriptionRaiPolicyCreateOrUpdate =
|
|
4617
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4618
|
+
inputSchema: SubscriptionRaiPolicyCreateOrUpdateInput,
|
|
4619
|
+
outputSchema: SubscriptionRaiPolicyCreateOrUpdateOutput,
|
|
4620
|
+
}));
|
|
4621
|
+
// Input Schema
|
|
4622
|
+
export const SubscriptionRaiPolicyDeleteInput =
|
|
4623
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4624
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4625
|
+
raiPolicyName: Schema.String.pipe(T.PathParam()),
|
|
4626
|
+
"api-version": Schema.String,
|
|
4627
|
+
}).pipe(T.Http({
|
|
4628
|
+
method: "DELETE",
|
|
4629
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/raiPolicy/{raiPolicyName}",
|
|
4630
|
+
}));
|
|
4631
|
+
// Output Schema
|
|
4632
|
+
export const SubscriptionRaiPolicyDeleteOutput =
|
|
4633
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void;
|
|
4634
|
+
// The operation
|
|
4635
|
+
/**
|
|
4636
|
+
* Deletes the specified Content Filters associated with the subscription.
|
|
4637
|
+
*
|
|
4638
|
+
* @param api-version - The API version to use for this operation.
|
|
4639
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
4640
|
+
* @param raiPolicyName - The name of the RaiPolicy associated with the Cognitive Services Account
|
|
4641
|
+
*/
|
|
4642
|
+
export const SubscriptionRaiPolicyDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4643
|
+
inputSchema: SubscriptionRaiPolicyDeleteInput,
|
|
4644
|
+
outputSchema: SubscriptionRaiPolicyDeleteOutput,
|
|
4645
|
+
}));
|
|
4646
|
+
// Input Schema
|
|
4647
|
+
export const SubscriptionRaiPolicyGetInput =
|
|
4648
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4649
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4650
|
+
raiPolicyName: Schema.String.pipe(T.PathParam()),
|
|
4651
|
+
"api-version": Schema.String,
|
|
4652
|
+
}).pipe(T.Http({
|
|
4653
|
+
method: "GET",
|
|
4654
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/raiPolicy/{raiPolicyName}",
|
|
4655
|
+
}));
|
|
4656
|
+
// Output Schema
|
|
4657
|
+
export const SubscriptionRaiPolicyGetOutput =
|
|
4658
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
4659
|
+
// The operation
|
|
4660
|
+
/**
|
|
4661
|
+
* Gets the specified Content Filters associated with the Subscription.
|
|
4662
|
+
*
|
|
4663
|
+
* @param api-version - The API version to use for this operation.
|
|
4664
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
4665
|
+
* @param raiPolicyName - The name of the RaiPolicy associated with the Cognitive Services Account
|
|
4666
|
+
*/
|
|
4667
|
+
export const SubscriptionRaiPolicyGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4668
|
+
inputSchema: SubscriptionRaiPolicyGetInput,
|
|
4669
|
+
outputSchema: SubscriptionRaiPolicyGetOutput,
|
|
4670
|
+
}));
|
|
4671
|
+
// Input Schema
|
|
4672
|
+
export const TestRaiExternalSafetyProviderCreateOrUpdateInput =
|
|
4673
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
4674
|
+
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4675
|
+
resourceGroupName: Schema.String.pipe(T.PathParam()),
|
|
4676
|
+
accountName: Schema.String.pipe(T.PathParam()),
|
|
4677
|
+
safetyProviderName: Schema.String.pipe(T.PathParam()),
|
|
4678
|
+
"api-version": Schema.String,
|
|
4679
|
+
}).pipe(T.Http({
|
|
4680
|
+
method: "PUT",
|
|
4681
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/testRaiExternalSafetyProvider/{safetyProviderName}",
|
|
4682
|
+
}));
|
|
4683
|
+
// Output Schema
|
|
4684
|
+
export const TestRaiExternalSafetyProviderCreateOrUpdateOutput =
|
|
4685
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
|
|
4686
|
+
// The operation
|
|
4687
|
+
/**
|
|
4688
|
+
* Test the rai safety provider associated with the subscription.
|
|
4689
|
+
*
|
|
4690
|
+
* @param api-version - The API version to use for this operation.
|
|
4691
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
4692
|
+
* @param resourceGroupName - The name of the resource group. The name is case insensitive.
|
|
4693
|
+
* @param accountName - The name of Cognitive Services account.
|
|
4694
|
+
* @param safetyProviderName - The name of the Rai External Safety Provider associated with the Cognitive Services Account
|
|
4695
|
+
*/
|
|
4696
|
+
export const TestRaiExternalSafetyProviderCreateOrUpdate =
|
|
4697
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
4698
|
+
inputSchema: TestRaiExternalSafetyProviderCreateOrUpdateInput,
|
|
4699
|
+
outputSchema: TestRaiExternalSafetyProviderCreateOrUpdateOutput,
|
|
4700
|
+
}));
|
|
4701
|
+
// Input Schema
|
|
2660
4702
|
export const UsagesListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2661
4703
|
subscriptionId: Schema.String.pipe(T.PathParam()),
|
|
4704
|
+
location: Schema.String.pipe(T.PathParam()),
|
|
2662
4705
|
"api-version": Schema.String,
|
|
4706
|
+
$filter: Schema.optional(Schema.String),
|
|
2663
4707
|
}).pipe(T.Http({
|
|
2664
4708
|
method: "GET",
|
|
2665
4709
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/usages",
|
|
@@ -2692,8 +4736,10 @@ export const UsagesListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
2692
4736
|
/**
|
|
2693
4737
|
* Get usages for the requested subscription
|
|
2694
4738
|
*
|
|
2695
|
-
* @param subscriptionId - The ID of the target subscription.
|
|
2696
4739
|
* @param api-version - The API version to use for this operation.
|
|
4740
|
+
* @param subscriptionId - The ID of the target subscription.
|
|
4741
|
+
* @param location - The name of Azure region.
|
|
4742
|
+
* @param $filter - An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names).
|
|
2697
4743
|
*/
|
|
2698
4744
|
export const UsagesList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2699
4745
|
inputSchema: UsagesListInput,
|