Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Merged
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

const models = require('./index');

/**
* The azure blob storage linked service.
*
* @extends models['LinkedService']
*/
class AzureBlobStorageLinkedService extends models['LinkedService'] {
/**
* Create a AzureBlobStorageLinkedService.
* @member {object} [connectionString] The connection string. It is mutually
* exclusive with sasUri, serviceEndpoint property. Type: string,
* SecureString or AzureKeyVaultSecretReference.
* @member {object} [sasUri] SAS URI of the Azure Blob Storage resource. It
* is mutually exclusive with connectionString, serviceEndpoint property.
* @member {string} [sasUri.type] Polymorphic Discriminator
* @member {string} [serviceEndpoint] Blob service endpoint of the Azure Blob
* Storage resource. It is mutually exclusive with connectionString, sasUri
* property.
* @member {object} [servicePrincipalId] The ID of the service principal used
* to authenticate against Azure SQL Data Warehouse. Type: string (or
* Expression with resultType string).
* @member {object} [servicePrincipalKey] The key of the service principal
* used to authenticate against Azure SQL Data Warehouse.
* @member {string} [servicePrincipalKey.type] Polymorphic Discriminator
* @member {object} [tenant] The name or ID of the tenant to which the
* service principal belongs. Type: string (or Expression with resultType
* string).
* @member {string} [encryptedCredential] The encrypted credential used for
* authentication. Credentials are encrypted using the integration runtime
* credential manager. Type: string (or Expression with resultType string).
*/
constructor() {
super();
}

/**
* Defines the metadata of AzureBlobStorageLinkedService
*
* @returns {object} metadata of AzureBlobStorageLinkedService
*
*/
mapper() {
return {
required: false,
serializedName: 'AzureBlobStorage',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'LinkedService',
className: 'AzureBlobStorageLinkedService',
modelProperties: {
connectVia: {
required: false,
serializedName: 'connectVia',
type: {
name: 'Composite',
className: 'IntegrationRuntimeReference'
}
},
description: {
required: false,
serializedName: 'description',
type: {
name: 'String'
}
},
parameters: {
required: false,
serializedName: 'parameters',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'ParameterSpecificationElementType',
type: {
name: 'Composite',
className: 'ParameterSpecification'
}
}
}
},
annotations: {
required: false,
serializedName: 'annotations',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
},
type: {
required: true,
serializedName: 'type',
isPolymorphicDiscriminator: true,
type: {
name: 'String'
}
},
connectionString: {
required: false,
serializedName: 'typeProperties.connectionString',
type: {
name: 'Object'
}
},
sasUri: {
required: false,
serializedName: 'typeProperties.sasUri',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'SecretBase',
className: 'SecretBase'
}
},
serviceEndpoint: {
required: false,
serializedName: 'typeProperties.serviceEndpoint',
type: {
name: 'String'
}
},
servicePrincipalId: {
required: false,
serializedName: 'typeProperties.servicePrincipalId',
type: {
name: 'Object'
}
},
servicePrincipalKey: {
required: false,
serializedName: 'typeProperties.servicePrincipalKey',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'SecretBase',
className: 'SecretBase'
}
},
tenant: {
required: false,
serializedName: 'typeProperties.tenant',
type: {
name: 'Object'
}
},
encryptedCredential: {
required: false,
serializedName: 'typeProperties.encryptedCredential',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = AzureBlobStorageLinkedService;
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class AzureStorageLinkedService extends models['LinkedService'] {
* @member {object} [sasUri] SAS URI of the Azure Storage resource. It is
* mutually exclusive with connectionString property.
* @member {string} [sasUri.type] Polymorphic Discriminator
* @member {object} [encryptedCredential] The encrypted credential used for
* @member {string} [encryptedCredential] The encrypted credential used for
* authentication. Credentials are encrypted using the integration runtime
* credential manager. Type: string (or Expression with resultType string).
*/
Expand Down Expand Up @@ -129,7 +129,7 @@ class AzureStorageLinkedService extends models['LinkedService'] {
required: false,
serializedName: 'typeProperties.encryptedCredential',
type: {
name: 'Object'
name: 'String'
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/

'use strict';

const models = require('./index');

/**
* The azure table storage linked service.
*
* @extends models['LinkedService']
*/
class AzureTableStorageLinkedService extends models['LinkedService'] {
/**
* Create a AzureTableStorageLinkedService.
* @member {object} [connectionString] The connection string. It is mutually
* exclusive with sasUri property. Type: string, SecureString or
* AzureKeyVaultSecretReference.
* @member {object} [sasUri] SAS URI of the Azure Storage resource. It is
* mutually exclusive with connectionString property.
* @member {string} [sasUri.type] Polymorphic Discriminator
* @member {string} [encryptedCredential] The encrypted credential used for
* authentication. Credentials are encrypted using the integration runtime
* credential manager. Type: string (or Expression with resultType string).
*/
constructor() {
super();
}

/**
* Defines the metadata of AzureTableStorageLinkedService
*
* @returns {object} metadata of AzureTableStorageLinkedService
*
*/
mapper() {
return {
required: false,
serializedName: 'AzureTableStorage',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'LinkedService',
className: 'AzureTableStorageLinkedService',
modelProperties: {
connectVia: {
required: false,
serializedName: 'connectVia',
type: {
name: 'Composite',
className: 'IntegrationRuntimeReference'
}
},
description: {
required: false,
serializedName: 'description',
type: {
name: 'String'
}
},
parameters: {
required: false,
serializedName: 'parameters',
type: {
name: 'Dictionary',
value: {
required: false,
serializedName: 'ParameterSpecificationElementType',
type: {
name: 'Composite',
className: 'ParameterSpecification'
}
}
}
},
annotations: {
required: false,
serializedName: 'annotations',
type: {
name: 'Sequence',
element: {
required: false,
serializedName: 'ObjectElementType',
type: {
name: 'Object'
}
}
}
},
type: {
required: true,
serializedName: 'type',
isPolymorphicDiscriminator: true,
type: {
name: 'String'
}
},
connectionString: {
required: false,
serializedName: 'typeProperties.connectionString',
type: {
name: 'Object'
}
},
sasUri: {
required: false,
serializedName: 'typeProperties.sasUri',
type: {
name: 'Composite',
polymorphicDiscriminator: {
serializedName: 'type',
clientName: 'type'
},
uberParent: 'SecretBase',
className: 'SecretBase'
}
},
encryptedCredential: {
required: false,
serializedName: 'typeProperties.encryptedCredential',
type: {
name: 'String'
}
}
}
}
};
}
}

module.exports = AzureTableStorageLinkedService;
Loading