|
3756 | 3756 | ],
|
3757 | 3757 | "properties": {
|
3758 | 3758 | "credentials": {
|
3759 |
| - "$ref": "#/definitions/WorkspaceConnectionSharedAccessSignature" |
| 3759 | + "$ref": "#/definitions/WorkspaceConnectionAccountKey" |
3760 | 3760 | }
|
3761 | 3761 | },
|
3762 | 3762 | "x-ms-discriminator-value": "AccountKey"
|
|
3928 | 3928 | "type": "string",
|
3929 | 3929 | "description": "The name of RAI policy."
|
3930 | 3930 | },
|
3931 |
| - "sku": { |
3932 |
| - "$ref": "#/definitions/CognitiveServicesSku" |
3933 |
| - }, |
3934 | 3931 | "versionUpgradeOption": {
|
3935 | 3932 | "description": "Deployment model version upgrade option.",
|
3936 | 3933 | "type": "string",
|
|
4125 | 4122 | "modelAsString": true
|
4126 | 4123 | }
|
4127 | 4124 | },
|
4128 |
| - "ContentSafetyEndpointDeploymentResourceProperties": { |
4129 |
| - "type": "object", |
4130 |
| - "allOf": [ |
4131 |
| - { |
4132 |
| - "$ref": "#/definitions/CognitiveServiceEndpointDeploymentResourceProperties" |
4133 |
| - }, |
4134 |
| - { |
4135 |
| - "$ref": "#/definitions/EndpointDeploymentResourceProperties" |
4136 |
| - } |
4137 |
| - ], |
4138 |
| - "x-ms-discriminator-value": "Azure.ContentSafety" |
4139 |
| - }, |
4140 | 4125 | "ContentSafetyEndpointResourceProperties": {
|
4141 | 4126 | "type": "object",
|
4142 | 4127 | "allOf": [
|
|
4518 | 4503 | }
|
4519 | 4504 | },
|
4520 | 4505 | "EndpointDeploymentResourceProperties": {
|
4521 |
| - "required": [ |
4522 |
| - "type" |
4523 |
| - ], |
4524 | 4506 | "type": "object",
|
| 4507 | + "allOf": [ |
| 4508 | + { |
| 4509 | + "$ref": "#/definitions/CognitiveServiceEndpointDeploymentResourceProperties" |
| 4510 | + } |
| 4511 | + ], |
4525 | 4512 | "properties": {
|
4526 |
| - "failureReason": { |
4527 |
| - "description": "The failure reason if the creation failed.", |
4528 |
| - "type": "string" |
4529 |
| - }, |
4530 | 4513 | "provisioningState": {
|
4531 | 4514 | "description": "Read-only provision state status property.",
|
4532 | 4515 | "$ref": "#/definitions/DefaultResourceProvisioningState"
|
4533 |
| - }, |
4534 |
| - "type": { |
4535 |
| - "description": "Kind of the deployment.", |
4536 |
| - "minLength": 1, |
4537 |
| - "pattern": "[a-zA-Z0-9._]", |
4538 |
| - "type": "string" |
4539 | 4516 | }
|
4540 |
| - }, |
4541 |
| - "discriminator": "type" |
| 4517 | + } |
4542 | 4518 | },
|
4543 | 4519 | "EndpointDeploymentResourcePropertiesBasicResource": {
|
4544 | 4520 | "required": [
|
|
4553 | 4529 | "properties": {
|
4554 | 4530 | "properties": {
|
4555 | 4531 | "$ref": "#/definitions/EndpointDeploymentResourceProperties"
|
| 4532 | + }, |
| 4533 | + "sku": { |
| 4534 | + "$ref": "#/definitions/CognitiveServicesSku" |
4556 | 4535 | }
|
4557 | 4536 | }
|
4558 | 4537 | },
|
|
4975 | 4954 | "modelAsString": true
|
4976 | 4955 | }
|
4977 | 4956 | },
|
4978 |
| - "ManagedOnlineEndpointDeploymentResourceProperties": { |
4979 |
| - "type": "object", |
4980 |
| - "allOf": [ |
4981 |
| - { |
4982 |
| - "$ref": "#/definitions/EndpointDeploymentResourceProperties" |
4983 |
| - } |
4984 |
| - ], |
4985 |
| - "x-ms-discriminator-value": "managedOnlineEndpoint" |
4986 |
| - }, |
4987 | 4957 | "ManagedOnlineEndpointResourceProperties": {
|
4988 | 4958 | "type": "object",
|
4989 | 4959 | "allOf": [
|
|
5164 | 5134 | },
|
5165 | 5135 | "x-ms-discriminator-value": "OAuth2"
|
5166 | 5136 | },
|
5167 |
| - "OpenAIEndpointDeploymentResourceProperties": { |
5168 |
| - "type": "object", |
5169 |
| - "allOf": [ |
5170 |
| - { |
5171 |
| - "$ref": "#/definitions/CognitiveServiceEndpointDeploymentResourceProperties" |
5172 |
| - }, |
5173 |
| - { |
5174 |
| - "$ref": "#/definitions/EndpointDeploymentResourceProperties" |
5175 |
| - } |
5176 |
| - ], |
5177 |
| - "x-ms-discriminator-value": "Azure.OpenAI" |
5178 |
| - }, |
5179 | 5137 | "OpenAIEndpointResourceProperties": {
|
5180 | 5138 | "type": "object",
|
5181 | 5139 | "allOf": [
|
|
5992 | 5950 | }
|
5993 | 5951 | }
|
5994 | 5952 | },
|
5995 |
| - "SpeechEndpointDeploymentResourceProperties": { |
5996 |
| - "type": "object", |
5997 |
| - "allOf": [ |
5998 |
| - { |
5999 |
| - "$ref": "#/definitions/CognitiveServiceEndpointDeploymentResourceProperties" |
6000 |
| - }, |
6001 |
| - { |
6002 |
| - "$ref": "#/definitions/EndpointDeploymentResourceProperties" |
6003 |
| - } |
6004 |
| - ], |
6005 |
| - "x-ms-discriminator-value": "Azure.Speech" |
6006 |
| - }, |
6007 | 5953 | "SpeechEndpointResourceProperties": {
|
6008 | 5954 | "type": "object",
|
6009 | 5955 | "allOf": [
|
|
6279 | 6225 | }
|
6280 | 6226 | }
|
6281 | 6227 | },
|
| 6228 | + "WorkspaceConnectionAccountKey": { |
| 6229 | + "type": "object", |
| 6230 | + "properties": { |
| 6231 | + "key": { |
| 6232 | + "type": "string", |
| 6233 | + "x-ms-secret": true |
| 6234 | + } |
| 6235 | + } |
| 6236 | + }, |
6282 | 6237 | "WorkspaceConnectionUpdateParameter": {
|
6283 | 6238 | "description": "The properties that the machine learning workspace connection will be updated with.",
|
6284 | 6239 | "type": "object",
|
|
0 commit comments