Skip to content

Commit

Permalink
🧹 Update ARM Specs
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrencegripper authored Jan 20, 2025
1 parent 472260f commit 6b426a7
Show file tree
Hide file tree
Showing 31 changed files with 716 additions and 2,984 deletions.
284 changes: 110 additions & 174 deletions internal/pkg/expanders/swagger-armspecs.generated.go

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions swagger-specs/common-types/cspell.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This file configures spell checking. Items in "words" were initially populated
# with words that might be spelling errors. Review these words and take
# appropriate action. For more information, see: https://aka.ms/ci-fix#spell-check

# Spell checking is not case sensitive
# Keep word lists in alphabetical order so the file is easier to manage
version: '0.2'
import:
- ../../cspell.yaml
words:
- mobo
- pkix
- unversioned

Original file line number Diff line number Diff line change
Expand Up @@ -5379,6 +5379,56 @@
"encryptedCredential": {
"type": "string",
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string."
},
"authenticationType": {
"type": "string",
"enum": [
"Basic"
],
"x-ms-enum": {
"name": "GreenplumAuthenticationType",
"modelAsString": true
},
"description": "The authentication type to use. Type: string. Only used for V2."
},
"host": {
"type": "object",
"x-ms-format": "dfe-string",
"description": "Host name for connection. Type: string. Only used for V2."
},
"port": {
"type": "object",
"x-ms-format": "dfe-int",
"description": "The port for the connection. Type: integer. Only used for V2."
},
"username": {
"type": "object",
"x-ms-format": "dfe-string",
"description": "Username for authentication. Type: string. Only used for V2."
},
"database": {
"type": "object",
"x-ms-format": "dfe-string",
"description": "Database name for connection. Type: string. Only used for V2."
},
"sslMode": {
"type": "object",
"x-ms-format": "dfe-int",
"description": "SSL mode for connection. Type: integer. 0: disable, 1:allow, 2: prefer, 3: require, 4: verify-ca, 5: verify-full. Type: integer. Only used for V2."
},
"connectionTimeout": {
"type": "object",
"x-ms-format": "dfe-int",
"description": "The time to wait (in seconds) while trying to establish a connection before terminating the attempt and generating an error. Type: integer. Only used for V2."
},
"commandTimeout": {
"type": "object",
"x-ms-format": "dfe-int",
"description": "The time to wait (in seconds) while trying to execute a command before terminating the attempt and generating an error. Set to zero for infinity. Type: integer. Only used for V2."
},
"password": {
"$ref": "../datafactory.json#/definitions/SecretBase",
"description": "The Azure key vault secret reference of password in connection string. Type: string. Only used for V2."
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1357,8 +1357,16 @@
"description": "The time at which the SMS was received",
"format": "date-time",
"type": "string"
},
"segmentCount": {
"description": "Number of segments in the message",
"format": "int32",
"type": "integer"
}
}
},
"required": [
"segmentCount"
]
},
"AcsRecordingFileStatusUpdatedEventData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RecordingFileStatusUpdated event.",
Expand Down Expand Up @@ -1434,6 +1442,10 @@
"description": "The recipient Email Address",
"type": "string"
},
"internetMessageId": {
"description": "The Internet Message Id of the email been sent",
"type": "string"
},
"messageId": {
"description": "The Id of the email been sent",
"type": "string"
Expand Down Expand Up @@ -2015,6 +2027,10 @@
"description": "Detailed information about the status if any",
"type": "object",
"properties": {
"recipientMailServerHostName": {
"description": "Recipient Mail Server Host Name",
"type": "string"
},
"statusMessage": {
"description": "Detailed status message",
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -682,9 +682,13 @@
"type": "string",
"description": "The recipient Email Address"
},
"internetMessageId": {
"type": "string",
"description": "The Internet Message Id of the email that has been sent"
},
"messageId": {
"type": "string",
"description": "The Id of the email been sent"
"description": "The Id of the email that has been sent"
},
"status": {
"$ref": "#/definitions/AcsEmailDeliveryReportStatus",
Expand All @@ -701,6 +705,9 @@
}
},
"required": [
"sender",
"recipient",
"internetMessageId",
"deliveryStatusDetails"
]
},
Expand Down Expand Up @@ -759,6 +766,10 @@
"statusMessage": {
"type": "string",
"description": "Detailed status message"
},
"recipientMailServerHostName": {
"type": "string",
"description": "Recipient mail server host name"
}
}
},
Expand Down Expand Up @@ -2429,8 +2440,16 @@
"type": "string",
"format": "date-time",
"description": "The time at which the SMS was received"
},
"segmentCount": {
"type": "integer",
"format": "int32",
"description": "Number of segments in the message"
}
},
"required": [
"segmentCount"
],
"allOf": [
{
"$ref": "#/definitions/AcsSmsEventBaseProperties"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "EventHubManagementClient",
"description": "Azure Event Hubs client",
"version": "2024-01-01"
"version": "2017-04-01"
},
"host": "management.azure.com",
"schemes": [
Expand Down Expand Up @@ -70,7 +70,7 @@
"default": {
"description": "Eventhub error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse"
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -127,7 +127,7 @@
"default": {
"description": "Eventhub error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse"
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse"
}
}
}
Expand Down Expand Up @@ -170,7 +170,7 @@
"default": {
"description": "Eventhub error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse"
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse"
}
}
}
Expand Down Expand Up @@ -213,7 +213,7 @@
"default": {
"description": "Eventhub error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse"
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse"
}
}
}
Expand Down Expand Up @@ -258,7 +258,7 @@
"default": {
"description": "Eventhub error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse"
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse"
}
}
}
Expand Down Expand Up @@ -312,7 +312,7 @@
"default": {
"description": "Eventhub error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse"
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse"
}
}
}
Expand Down Expand Up @@ -357,7 +357,7 @@
"default": {
"description": "Eventhub error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse"
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -408,7 +408,7 @@
"default": {
"description": "Eventhub error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse"
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse"
}
}
}
Expand Down Expand Up @@ -456,7 +456,7 @@
"default": {
"description": "Eventhub error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse"
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse"
}
}
}
Expand Down Expand Up @@ -501,7 +501,7 @@
"default": {
"description": "Eventhub error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse"
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse"
}
}
},
Expand Down Expand Up @@ -561,7 +561,7 @@
"default": {
"description": "Eventhub error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse"
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse"
}
}
}
Expand Down Expand Up @@ -607,7 +607,7 @@
"default": {
"description": "Eventhub error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse"
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse"
}
}
}
Expand Down Expand Up @@ -653,7 +653,7 @@
"default": {
"description": "Eventhub error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse"
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse"
}
}
}
Expand Down Expand Up @@ -701,7 +701,7 @@
"default": {
"description": "Eventhub error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse"
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse"
}
}
}
Expand Down Expand Up @@ -758,7 +758,7 @@
"default": {
"description": "Eventhub error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse"
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse"
}
}
}
Expand Down Expand Up @@ -808,16 +808,11 @@
"rights"
],
"description": "Properties supplied to create or update AuthorizationRule"
},
"systemData": {
"readOnly": true,
"description": "The system meta data relating to this resource.",
"$ref": "../../../common/v1/definitions.json#/definitions/systemData"
}
},
"allOf": [
{
"$ref": "../../../common/v2/definitions.json#/definitions/ProxyResource"
"$ref": "../../../common/v1/definitions.json#/definitions/Resource"
}
],
"description": "Single item in a List or Get AuthorizationRule operation"
Expand Down Expand Up @@ -873,7 +868,7 @@
],
"x-ms-enum": {
"name": "KeyType",
"modelAsString": true
"modelAsString": false
}
},
"key": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "EventHubManagementClient",
"description": "Azure Event Hubs client",
"version": "2024-01-01"
"version": "2017-04-01"
},
"host": "management.azure.com",
"schemes": [
Expand Down Expand Up @@ -73,7 +73,7 @@
"default": {
"description": "Eventhub error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v2/definitions.json#/definitions/ErrorResponse"
"$ref": "../../../common/v1/definitions.json#/definitions/ErrorResponse"
}
}
}
Expand Down
Loading

0 comments on commit 6b426a7

Please sign in to comment.