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 27, 2025
1 parent 472260f commit 7a3883f
Show file tree
Hide file tree
Showing 36 changed files with 930 additions and 3,002 deletions.
308 changes: 122 additions & 186 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 @@ -1655,7 +1655,7 @@
},
"OracleLinkedService": {
"x-ms-discriminator-value": "Oracle",
"description": "Oracle database.",
"description": "Oracle database. This linked service has supported version property. The Version 1.0 is scheduled for deprecation while your pipeline will continue to run after EOL but without any bug fix or new features.",
"type": "object",
"allOf": [
{
Expand All @@ -1680,12 +1680,88 @@
"connectionString": {
"type": "object",
"x-ms-format": "dfe-string",
"description": "The connection string. Type: string, SecureString or AzureKeyVaultSecretReference."
"description": "The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Only used for Version 1.0."
},
"server": {
"type": "object",
"x-ms-format": "dfe-string",
"description": "The location of Oracle database you want to connect to, the supported forms include connector descriptor, Easy Connect (Plus) Naming and Oracle Net Services Name (Only self-hosted IR). Type: string. Only used for Version 2.0."
},
"authenticationType": {
"type": "string",
"enum": [
"Basic"
],
"x-ms-enum": {
"name": "OracleAuthenticationType",
"modelAsString": true
},
"description": "Authentication type for connecting to the Oracle database. Only used for Version 2.0."
},
"username": {
"type": "object",
"x-ms-format": "dfe-string",
"description": "The Oracle database username. Type: string. Only used for Version 2.0."
},
"password": {
"$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference",
"description": "The Azure key vault secret reference of password in connection string."
},
"encryptionClient": {
"type": "object",
"x-ms-format": "dfe-string",
"description": "Specifies the encryption client behavior. Supported values are accepted, rejected, requested or required, default value is required. Type: string. Only used for Version 2.0."
},
"encryptionTypesClient": {
"type": "object",
"x-ms-format": "dfe-string",
"description": "Specifies the encryption algorithms that client can use. Supported values are AES128, AES192, AES256, 3DES112, 3DES168, default value is (AES256). Type: string. Only used for Version 2.0."
},
"cryptoChecksumClient": {
"type": "object",
"x-ms-format": "dfe-string",
"description": "Specifies the desired data integrity behavior when this client connects to a server. Supported values are accepted, rejected, requested or required, default value is required. Type: string. Only used for Version 2.0."
},
"cryptoChecksumTypesClient": {
"type": "object",
"x-ms-format": "dfe-string",
"description": "Specifies the crypto-checksum algorithms that client can use. Supported values are SHA1, SHA256, SHA384, SHA512, default value is (SHA512). Type: string. Only used for Version 2.0."
},
"initialLobFetchSize": {
"type": "object",
"x-ms-format": "dfe-int",
"description": "Specifies the amount that the source initially fetches for LOB columns, default value is 0. Type: integer. Only used for Version 2.0."
},
"fetchSize": {
"type": "object",
"x-ms-format": "dfe-int",
"description": "Specifies the number of bytes that the driver allocates to fetch the data in one database round-trip, default value is 10485760. Type: integer. Only used for Version 2.0."
},
"statementCacheSize": {
"type": "object",
"x-ms-format": "dfe-int",
"description": "Specifies the number of cursors or statements to be cached for each database connection, default value is 0. Type: integer. Only used for Version 2.0."
},
"initializationString": {
"type": "object",
"x-ms-format": "dfe-string",
"description": "Specifies a command that is issued immediately after connecting to the database to manage session settings. Type: string. Only used for Version 2.0."
},
"enableBulkLoad": {
"type": "object",
"x-ms-format": "dfe-bool",
"description": "Specifies whether to use bulk copy or batch insert when loading data into the database, default value is true. Type: boolean. Only used for Version 2.0."
},
"supportV1DataTypes": {
"type": "object",
"x-ms-format": "dfe-bool",
"description": "Specifies whether to use the Version 1.0 data type mappings. Do not set this to true unless you want to keep backward compatibility with Version 1.0's data type mappings, default value is false. Type: boolean. Only used for Version 2.0."
},
"fetchTswtzAsTimestamp": {
"type": "object",
"x-ms-format": "dfe-bool",
"description": "Specifies whether the driver returns column value with the TIMESTAMP WITH TIME ZONE data type as DateTime or string. This setting is ignored if supportV1DataTypes is not true, default value is true. Type: boolean. Only used for Version 2.0."
},
"encryptedCredential": {
"type": "string",
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string."
Expand Down Expand Up @@ -2231,7 +2307,7 @@
"type": "object",
"properties": {
"connectionString": {
"description": "Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.",
"description": "Teradata ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Only applied for version 1.0.",
"type": "object",
"x-ms-format": "dfe-string"
},
Expand Down Expand Up @@ -2261,6 +2337,36 @@
"description": "Password for authentication.",
"$ref": "../datafactory.json#/definitions/SecretBase"
},
"sslMode": {
"type": "object",
"x-ms-format": "dfe-string",
"description": "SSL mode for connection. Valid values including: “Disable”, “Allow”, “Prefer”, “Require”, “Verify-CA”, “Verify-Full”. Default value is “Verify-Full”. Type: string (or Expression with resultType string). Only applied for version 2.0."
},
"portNumber": {
"type": "object",
"x-ms-format": "dfe-int",
"description": "The port numbers when connecting to server through non HTTPS/TLS connections. Type: integer (or Expression with resultType integer). Only used for V2. Only applied for version 2.0."
},
"httpsPortNumber": {
"type": "object",
"x-ms-format": "dfe-int",
"description": "The port numbers when connecting to server through HTTPS/TLS connections. Type: integer (or Expression with resultType integer). Only applied for version 2.0."
},
"useDataEncryption": {
"type": "object",
"x-ms-format": "dfe-int",
"description": "Specifies whether to encrypt all communication with the Teradata database. Allowed values are 0 or 1. This setting will be ignored for HTTPS/TLS connections. Type: integer (or Expression with resultType integer). Only applied for version 2.0."
},
"characterSet": {
"type": "object",
"x-ms-format": "dfe-string",
"description": "The character set to use for the connection. Type: string (or Expression with resultType string). Only applied for version 2.0."
},
"maxRespSize": {
"type": "object",
"x-ms-format": "dfe-int",
"description": "The maximum size of the response buffer for SQL requests, in bytes. Type: integer. Only applied for version 2.0."
},
"encryptedCredential": {
"type": "string",
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string."
Expand Down Expand Up @@ -4970,6 +5076,42 @@
"encryptedCredential": {
"type": "string",
"description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string."
},
"servicePrincipalId": {
"type": "object",
"x-ms-format": "dfe-string",
"description": "The ID of the service principal used to authenticate against Azure Database for PostgreSQL Flexible server. Type: string (or Expression with resultType string)."
},
"servicePrincipalKey": {
"description": "The key of the service principal used to authenticate against Azure Database for PostgreSQL Flexible server.",
"$ref": "../datafactory.json#/definitions/SecretBase"
},
"servicePrincipalCredentialType": {
"type": "object",
"x-ms-format": "dfe-string",
"description": "The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string)."
},
"servicePrincipalEmbeddedCert": {
"description": "Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string).",
"$ref": "../datafactory.json#/definitions/SecretBase"
},
"servicePrincipalEmbeddedCertPassword": {
"description": "Specify the password of your certificate if your certificate has a password and you are using AadServicePrincipal authentication. Type: string (or Expression with resultType string).",
"$ref": "../datafactory.json#/definitions/SecretBase"
},
"tenant": {
"type": "object",
"x-ms-format": "dfe-string",
"description": "The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string)."
},
"azureCloudType": {
"type": "object",
"x-ms-format": "dfe-string",
"description": "Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string)."
},
"credential": {
"$ref": "../datafactory.json#/definitions/CredentialReference",
"description": "The credential reference containing authentication information."
}
}
},
Expand Down Expand Up @@ -5379,6 +5521,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 @@ -3288,6 +3288,37 @@
}
}
},
"TeradataSink": {
"description": "A copy activity Teradata sink.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/CopySink"
}
],
"properties": {
"importSettings": {
"$ref": "#/definitions/TeradataImportCommand",
"description": "Teradata import settings."
}
}
},
"TeradataImportCommand": {
"description": "Teradata import command settings.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/ImportSettings"
}
],
"properties": {
"additionalFormatOptions": {
"type": "object",
"x-ms-format": "dfe-key-value-pairs",
"description": "Additional format options for Teradata Copy Command. The format options only applies to direct copy from CSV source. Type: key value pairs (value should be string type) (or Expression with resultType object). Example: \"additionalFormatOptions\": { \"timeFormat\": \"HHhMImSSs\" }"
}
}
},
"TeradataPartitionSettings": {
"description": "The settings that will be leveraged for teradata source partitioning.",
"type": "object",
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
Loading

0 comments on commit 7a3883f

Please sign in to comment.