Show / Hide Table of Contents

Class DatasetMysql

Manages a MySQL Dataset inside a Azure Data Factory.

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;

class MyStack : Stack
{
public MyStack()
{
    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
    {
        Location = "northeurope",
    });
    var exampleFactory = new Azure.DataFactory.Factory("exampleFactory", new Azure.DataFactory.FactoryArgs
    {
        Location = exampleResourceGroup.Location,
        ResourceGroupName = exampleResourceGroup.Name,
    });
    var exampleLinkedServiceMysql = new Azure.DataFactory.LinkedServiceMysql("exampleLinkedServiceMysql", new Azure.DataFactory.LinkedServiceMysqlArgs
    {
        ResourceGroupName = exampleResourceGroup.Name,
        DataFactoryName = exampleFactory.Name,
        ConnectionString = "Server=test;Port=3306;Database=test;User=test;SSLMode=1;UseSystemTrustStore=0;Password=test",
    });
    var exampleDatasetMysql = new Azure.DataFactory.DatasetMysql("exampleDatasetMysql", new Azure.DataFactory.DatasetMysqlArgs
    {
        ResourceGroupName = exampleResourceGroup.Name,
        DataFactoryName = exampleFactory.Name,
        LinkedServiceName = exampleLinkedServiceMysql.Name,
    });
}

}
Inheritance
System.Object
Resource
CustomResource
DatasetMysql
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.DataFactory
Assembly: Pulumi.Azure.dll
Syntax
public class DatasetMysql : CustomResource

Constructors

View Source

DatasetMysql(String, DatasetMysqlArgs, CustomResourceOptions)

Create a DatasetMysql resource with the given unique name, arguments, and options.

Declaration
public DatasetMysql(string name, DatasetMysqlArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

DatasetMysqlArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AdditionalProperties

A map of additional properties to associate with the Data Factory Dataset MySQL.

Declaration
public Output<ImmutableDictionary<string, string>> AdditionalProperties { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>
View Source

Annotations

List of tags that can be used for describing the Data Factory Dataset MySQL.

Declaration
public Output<ImmutableArray<string>> Annotations { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

DataFactoryName

The Data Factory name in which to associate the Dataset with. Changing this forces a new resource.

Declaration
public Output<string> DataFactoryName { get; }
Property Value
Type Description
Output<System.String>
View Source

Description

The description for the Data Factory Dataset MySQL.

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

Folder

The folder that this Dataset is in. If not specified, the Dataset will appear at the root level.

Declaration
public Output<string> Folder { get; }
Property Value
Type Description
Output<System.String>
View Source

LinkedServiceName

The Data Factory Linked Service name in which to associate the Dataset with.

Declaration
public Output<string> LinkedServiceName { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

Specifies the name of the Data Factory Dataset MySQL. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

Parameters

A map of parameters to associate with the Data Factory Dataset MySQL.

Declaration
public Output<ImmutableDictionary<string, string>> Parameters { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>>
View Source

ResourceGroupName

The name of the resource group in which to create the Data Factory Dataset MySQL. Changing this forces a new resource

Declaration
public Output<string> ResourceGroupName { get; }
Property Value
Type Description
Output<System.String>
View Source

SchemaColumns

A schema_column block as defined below.

Declaration
public Output<ImmutableArray<DatasetMysqlSchemaColumn>> SchemaColumns { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<DatasetMysqlSchemaColumn>>
View Source

TableName

The table name of the Data Factory Dataset MySQL.

Declaration
public Output<string> TableName { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, DatasetMysqlState, CustomResourceOptions)

Get an existing DatasetMysql resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static DatasetMysql Get(string name, Input<string> id, DatasetMysqlState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

DatasetMysqlState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
DatasetMysql
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.