Share via


DataSource Class

Definition

[Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.DataSourceTypeConverter))]
public class DataSource : Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IDataSource, Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Runtime.IValidates
[<Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.DataSourceTypeConverter))>]
type DataSource = class
    interface IDataSource
    interface IJsonSerializable
    interface IProxyResource
    interface IValidates
Public Class DataSource
Implements IDataSource, IValidates
Inheritance
DataSource
Attributes
Implements

Constructors

DataSource()

Creates an new DataSource instance.

Properties

Id
Kind
Name
ResourceGroupName

Gets the resource group name

Scan

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DataSource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DataSource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IDataSource. Note: the Microsoft.Azure.PowerShell.Cmdlets.Purviewdata.Models.Api20211001Preview.IDataSource interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

Creates a new instance of DataSource, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DataSource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to