Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated SDK generation @ azure-rest-api-specs 6e4d25df14bb5252d9911c9de2c8fc99a32e644d #3898

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion azure-rest-api-specs
503 changes: 491 additions & 12 deletions provider/cmd/pulumi-resource-azure-native/schema.json

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions reports/allResourceVersionsByResource.json
Original file line number Diff line number Diff line change
Expand Up @@ -9640,7 +9640,8 @@
"2023-12-13-preview",
"2024-03-26-preview",
"2024-04-04-preview",
"2024-10-19"
"2024-10-19",
"2025-01-21"
]
},
"DevSpaces": {
Expand Down Expand Up @@ -15319,15 +15320,17 @@
"FederatedIdentityCredential": [
"2022-01-31-preview",
"2023-01-31",
"2023-07-31-preview"
"2023-07-31-preview",
"2024-11-30"
],
"UserAssignedIdentity": [
"2015-08-31-preview",
"2018-11-30",
"2021-09-30-preview",
"2022-01-31-preview",
"2023-01-31",
"2023-07-31-preview"
"2023-07-31-preview",
"2024-11-30"
],
"listUserAssignedIdentityAssociatedResources": [
"2021-09-30-preview",
Expand Down
22 changes: 22 additions & 0 deletions reports/allResourcesByVersion.json
Original file line number Diff line number Diff line change
Expand Up @@ -46733,6 +46733,14 @@
"ResourceUri": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}",
"RpNamespace": "Microsoft.DevOpsInfrastructure"
}
},
"2025-01-21": {
"Pool": {
"ApiVersion": "2025-01-21",
"SpecFilePath": "specification/devopsinfrastructure/resource-manager/Microsoft.DevOpsInfrastructure/stable/2025-01-21/devopsinfrastructure.json",
"ResourceUri": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}",
"RpNamespace": "Microsoft.DevOpsInfrastructure"
}
}
},
"DevSpaces": {
Expand Down Expand Up @@ -74078,6 +74086,20 @@
"ResourceUri": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}",
"RpNamespace": "Microsoft.ManagedIdentity"
}
},
"2024-11-30": {
"FederatedIdentityCredential": {
"ApiVersion": "2024-11-30",
"SpecFilePath": "specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2024-11-30/ManagedIdentity.json",
"ResourceUri": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}/federatedIdentityCredentials/{federatedIdentityCredentialResourceName}",
"RpNamespace": "Microsoft.ManagedIdentity"
},
"UserAssignedIdentity": {
"ApiVersion": "2024-11-30",
"SpecFilePath": "specification/msi/resource-manager/Microsoft.ManagedIdentity/stable/2024-11-30/ManagedIdentity.json",
"ResourceUri": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}",
"RpNamespace": "Microsoft.ManagedIdentity"
}
}
},
"ManagedNetwork": {
Expand Down
6 changes: 4 additions & 2 deletions reports/pending.json
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,8 @@
"2023-12-13-preview",
"2024-03-26-preview",
"2024-04-04-preview",
"2024-10-19"
"2024-10-19",
"2025-01-21"
],
"DevSpaces": [],
"DevTestLab": [],
Expand Down Expand Up @@ -884,7 +885,8 @@
],
"ManagedIdentity": [
"2023-01-31",
"2023-07-31-preview"
"2023-07-31-preview",
"2024-11-30"
],
"ManagedNetwork": [],
"ManagedNetworkFabric": [
Expand Down
30 changes: 30 additions & 0 deletions sdk/dotnet/DataFactory/Enums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1633,6 +1633,36 @@ private ODataAuthenticationType(string value)
public override string ToString() => _value;
}

/// <summary>
/// Authentication type for connecting to the Oracle database. Only used for Version 2.0.
/// </summary>
[EnumType]
public readonly struct OracleAuthenticationType : IEquatable<OracleAuthenticationType>
{
private readonly string _value;

private OracleAuthenticationType(string value)
{
_value = value ?? throw new ArgumentNullException(nameof(value));
}

public static OracleAuthenticationType Basic { get; } = new OracleAuthenticationType("Basic");

public static bool operator ==(OracleAuthenticationType left, OracleAuthenticationType right) => left.Equals(right);
public static bool operator !=(OracleAuthenticationType left, OracleAuthenticationType right) => !left.Equals(right);

public static explicit operator string(OracleAuthenticationType value) => value._value;

[EditorBrowsable(EditorBrowsableState.Never)]
public override bool Equals(object? obj) => obj is OracleAuthenticationType other && Equals(other);
public bool Equals(OracleAuthenticationType other) => string.Equals(_value, other._value, StringComparison.Ordinal);

[EditorBrowsable(EditorBrowsableState.Never)]
public override int GetHashCode() => _value?.GetHashCode() ?? 0;

public override string ToString() => _value;
}

/// <summary>
/// Parameter type.
/// </summary>
Expand Down
48 changes: 48 additions & 0 deletions sdk/dotnet/DataFactory/Inputs/AzurePostgreSqlLinkedServiceArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ public InputList<object> Annotations
set => _annotations = value;
}

/// <summary>
/// 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).
/// </summary>
[Input("azureCloudType")]
public Input<object>? AzureCloudType { get; set; }

/// <summary>
/// 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.
/// </summary>
Expand All @@ -45,6 +51,12 @@ public InputList<object> Annotations
[Input("connectionString")]
public Input<object>? ConnectionString { get; set; }

/// <summary>
/// The credential reference containing authentication information.
/// </summary>
[Input("credential")]
public Input<Inputs.CredentialReferenceArgs>? Credential { get; set; }

/// <summary>
/// Database name for connection. Type: string.
/// </summary>
Expand Down Expand Up @@ -105,12 +117,48 @@ public InputMap<Inputs.ParameterSpecificationArgs> Parameters
[Input("server")]
public Input<object>? Server { get; set; }

/// <summary>
/// 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).
/// </summary>
[Input("servicePrincipalCredentialType")]
public Input<object>? ServicePrincipalCredentialType { get; set; }

/// <summary>
/// Specify the base64 encoded certificate of your application registered in Azure Active Directory. Type: string (or Expression with resultType string).
/// </summary>
[Input("servicePrincipalEmbeddedCert")]
public InputUnion<Inputs.AzureKeyVaultSecretReferenceArgs, Inputs.SecureStringArgs>? ServicePrincipalEmbeddedCert { get; set; }

/// <summary>
/// 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).
/// </summary>
[Input("servicePrincipalEmbeddedCertPassword")]
public InputUnion<Inputs.AzureKeyVaultSecretReferenceArgs, Inputs.SecureStringArgs>? ServicePrincipalEmbeddedCertPassword { get; set; }

/// <summary>
/// The ID of the service principal used to authenticate against Azure Database for PostgreSQL Flexible server. Type: string (or Expression with resultType string).
/// </summary>
[Input("servicePrincipalId")]
public Input<object>? ServicePrincipalId { get; set; }

/// <summary>
/// The key of the service principal used to authenticate against Azure Database for PostgreSQL Flexible server.
/// </summary>
[Input("servicePrincipalKey")]
public InputUnion<Inputs.AzureKeyVaultSecretReferenceArgs, Inputs.SecureStringArgs>? ServicePrincipalKey { get; set; }

/// <summary>
/// SSL mode for connection. Type: integer. 0: disable, 1:allow, 2: prefer, 3: require, 4: verify-ca, 5: verify-full. Type: integer.
/// </summary>
[Input("sslMode")]
public Input<object>? SslMode { get; set; }

/// <summary>
/// The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).
/// </summary>
[Input("tenant")]
public Input<object>? Tenant { get; set; }

/// <summary>
/// The time to wait (in seconds) while trying to establish a connection before terminating the attempt and generating an error. Type: integer.
/// </summary>
Expand Down
88 changes: 86 additions & 2 deletions sdk/dotnet/DataFactory/Inputs/OracleLinkedServiceArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Pulumi.AzureNative.DataFactory.Inputs
{

/// <summary>
/// Oracle database.
/// 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.
/// </summary>
public sealed class OracleLinkedServiceArgs : global::Pulumi.ResourceArgs
{
Expand All @@ -27,30 +27,90 @@ public InputList<object> Annotations
set => _annotations = value;
}

/// <summary>
/// Authentication type for connecting to the Oracle database. Only used for Version 2.0.
/// </summary>
[Input("authenticationType")]
public InputUnion<string, Pulumi.AzureNative.DataFactory.OracleAuthenticationType>? AuthenticationType { get; set; }

/// <summary>
/// The integration runtime reference.
/// </summary>
[Input("connectVia")]
public Input<Inputs.IntegrationRuntimeReferenceArgs>? ConnectVia { get; set; }

/// <summary>
/// The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.
/// The connection string. Type: string, SecureString or AzureKeyVaultSecretReference. Only used for Version 1.0.
/// </summary>
[Input("connectionString", required: true)]
public Input<object> ConnectionString { get; set; } = null!;

/// <summary>
/// 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.
/// </summary>
[Input("cryptoChecksumClient")]
public Input<object>? CryptoChecksumClient { get; set; }

/// <summary>
/// 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.
/// </summary>
[Input("cryptoChecksumTypesClient")]
public Input<object>? CryptoChecksumTypesClient { get; set; }

/// <summary>
/// Linked service description.
/// </summary>
[Input("description")]
public Input<string>? Description { get; set; }

/// <summary>
/// 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.
/// </summary>
[Input("enableBulkLoad")]
public Input<object>? EnableBulkLoad { get; set; }

/// <summary>
/// The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string.
/// </summary>
[Input("encryptedCredential")]
public Input<string>? EncryptedCredential { get; set; }

/// <summary>
/// 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.
/// </summary>
[Input("encryptionClient")]
public Input<object>? EncryptionClient { get; set; }

/// <summary>
/// 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.
/// </summary>
[Input("encryptionTypesClient")]
public Input<object>? EncryptionTypesClient { get; set; }

/// <summary>
/// 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.
/// </summary>
[Input("fetchSize")]
public Input<object>? FetchSize { get; set; }

/// <summary>
/// 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.
/// </summary>
[Input("fetchTswtzAsTimestamp")]
public Input<object>? FetchTswtzAsTimestamp { get; set; }

/// <summary>
/// Specifies the amount that the source initially fetches for LOB columns, default value is 0. Type: integer. Only used for Version 2.0.
/// </summary>
[Input("initialLobFetchSize")]
public Input<object>? InitialLobFetchSize { get; set; }

/// <summary>
/// Specifies a command that is issued immediately after connecting to the database to manage session settings. Type: string. Only used for Version 2.0.
/// </summary>
[Input("initializationString")]
public Input<object>? InitializationString { get; set; }

[Input("parameters")]
private InputMap<Inputs.ParameterSpecificationArgs>? _parameters;

Expand All @@ -69,13 +129,37 @@ public InputMap<Inputs.ParameterSpecificationArgs> Parameters
[Input("password")]
public Input<Inputs.AzureKeyVaultSecretReferenceArgs>? Password { get; set; }

/// <summary>
/// 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.
/// </summary>
[Input("server")]
public Input<object>? Server { get; set; }

/// <summary>
/// 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.
/// </summary>
[Input("statementCacheSize")]
public Input<object>? StatementCacheSize { get; set; }

/// <summary>
/// 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.
/// </summary>
[Input("supportV1DataTypes")]
public Input<object>? SupportV1DataTypes { get; set; }

/// <summary>
/// Type of linked service.
/// Expected value is 'Oracle'.
/// </summary>
[Input("type", required: true)]
public Input<string> Type { get; set; } = null!;

/// <summary>
/// The Oracle database username. Type: string. Only used for Version 2.0.
/// </summary>
[Input("username")]
public Input<object>? Username { get; set; }

/// <summary>
/// Version of the linked service.
/// </summary>
Expand Down
36 changes: 36 additions & 0 deletions sdk/dotnet/DataFactory/Inputs/TeradataImportCommandArgs.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// *** WARNING: this file was generated by pulumi. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;

namespace Pulumi.AzureNative.DataFactory.Inputs
{

/// <summary>
/// Teradata import command settings.
/// </summary>
public sealed class TeradataImportCommandArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// 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" }
/// </summary>
[Input("additionalFormatOptions")]
public Input<object>? AdditionalFormatOptions { get; set; }

/// <summary>
/// The import setting type.
/// Expected value is 'TeradataImportCommand'.
/// </summary>
[Input("type", required: true)]
public Input<string> Type { get; set; } = null!;

public TeradataImportCommandArgs()
{
}
public static new TeradataImportCommandArgs Empty => new TeradataImportCommandArgs();
}
}
Loading
Loading