C# Class Microsoft.Azure.Commands.DataFactories.DataFactoryClient

Mostra file Open project: Azure/azure-powershell Class Usage Examples

Public Methods

Method Description
CreateOrUpdateDataFactory ( string resourceGroupName, string dataFactoryName, string location, string>.IDictionary tags ) : Microsoft.Azure.Management.DataFactories.Models.DataFactory
CreateOrUpdateDataset ( string resourceGroupName, string dataFactoryName, string datasetName, string rawJsonContent ) : Microsoft.Azure.Management.DataFactories.Models.Dataset
CreateOrUpdateGateway ( string resourceGroupName, string dataFactoryName, PSDataFactoryGateway gateway ) : PSDataFactoryGateway
CreateOrUpdateHub ( string resourceGroupName, string dataFactoryName, string hubName, string rawJsonContent ) : Microsoft.Azure.Management.DataFactories.Models.Hub
CreateOrUpdateLinkedService ( string resourceGroupName, string dataFactoryName, string linkedServiceName, string rawJsonContent ) : Microsoft.Azure.Management.DataFactories.Models.LinkedService
CreateOrUpdatePipeline ( string resourceGroupName, string dataFactoryName, string pipelineName, string rawJsonContent ) : Microsoft.Azure.Management.DataFactories.Models.Pipeline
CreatePSDataFactory ( CreatePSDataFactoryParameters parameters ) : PSDataFactory
CreatePSDataset ( CreatePSDatasetParameters parameters ) : PSDataset
CreatePSHub ( Microsoft.Azure.Commands.DataFactories.CreatePSHubParameters parameters ) : PSHub
CreatePSLinkedService ( CreatePSLinkedServiceParameters parameters ) : PSLinkedService
CreatePSPipeline ( CreatePSPipelineParameters parameters ) : PSPipeline
DataFactoryClient ( ) : Microsoft.Azure.Commands.Common.Authentication

Parameterless constructor for Mocking.

DataFactoryClient ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
DeleteDataFactory ( string resourceGroupName, string dataFactoryName ) : HttpStatusCode
DeleteDataset ( string resourceGroupName, string dataFactoryName, string datasetName ) : HttpStatusCode
DeleteGateway ( string resourceGroupName, string dataFactoryName, string gatewayName ) : void
DeleteHub ( string resourceGroupName, string dataFactoryName, string hubName ) : HttpStatusCode
DeleteLinkedService ( string resourceGroupName, string dataFactoryName, string linkedServiceName ) : HttpStatusCode
DeletePipeline ( string resourceGroupName, string dataFactoryName, string pipelineName ) : HttpStatusCode
DownloadFileToBlob ( Microsoft.Azure.Commands.DataFactories.BlobDownloadParameters parameters ) : void
FilterPSDataFactories ( DataFactoryFilterOptions filterOptions ) : List
FilterPSDatasets ( Microsoft.Azure.Commands.DataFactories.DatasetFilterOptions filterOptions ) : List
FilterPSHubs ( Microsoft.Azure.Commands.DataFactories.HubFilterOptions filterOptions ) : List
FilterPSLinkedServices ( Microsoft.Azure.Commands.DataFactories.LinkedServiceFilterOptions filterOptions ) : List
FilterPSPipelines ( Microsoft.Azure.Commands.DataFactories.PipelineFilterOptions filterOptions ) : List
GetDataFactory ( string resourceGroupName, string dataFactoryName ) : PSDataFactory
GetDataSliceRunLogsSharedAccessSignature ( string resourceGroupName, string dataFactoryName, string dataSliceRunId ) : Uri
GetDataset ( string resourceGroupName, string dataFactoryName, string datasetName ) : PSDataset
GetGateway ( string resourceGroupName, string dataFactoryName, string gatewayName ) : PSDataFactoryGateway
GetHub ( string resourceGroupName, string dataFactoryName, string hubName ) : PSHub
GetLinkedService ( string resourceGroupName, string dataFactoryName, string linkedServiceName ) : PSLinkedService
GetPipeline ( string resourceGroupName, string dataFactoryName, string pipelineName ) : PSPipeline
ListDataFactories ( DataFactoryFilterOptions filterOptions ) : List
ListDataSliceRuns ( Microsoft.Azure.Commands.DataFactories.DataSliceRunFilterOptions filterOptions ) : List
ListDataSlices ( Microsoft.Azure.Commands.DataFactories.DataSliceFilterOptions filterOptions ) : List
ListDatasets ( Microsoft.Azure.Commands.DataFactories.DatasetFilterOptions filterOptions ) : List
ListGateways ( string resourceGroupName, string dataFactoryName ) : List
ListHubs ( Microsoft.Azure.Commands.DataFactories.HubFilterOptions filterOptions ) : List
ListLinkedServices ( Microsoft.Azure.Commands.DataFactories.LinkedServiceFilterOptions filterOptions ) : List
ListPipelines ( Microsoft.Azure.Commands.DataFactories.PipelineFilterOptions filterOptions ) : List
OnPremisesEncryptString ( SecureString value, string resourceGroupName, string dataFactoryName, string gatewayName, PSCredential credential, string type, string nonCredentialValue, string authenticationType, string serverName, string databaseName ) : string
PatchGateway ( string resourceGroupName, string dataFactoryName, PSDataFactoryGateway gateway ) : PSDataFactoryGateway
ReadJsonFileContent ( string path ) : string
RegenerateGatewayKey ( string resourceGroupName, string dataFactoryName, string gatewayName ) : Microsoft.Azure.Commands.DataFactories.Models.PSDataFactoryGatewayKey
ResumePipeline ( string resourceGroupName, string dataFactoryName, string pipelineName ) : void
SetPipelineActivePeriod ( string resourceGroupName, string dataFactoryName, string pipelineName, System.DateTime startTime, System.DateTime endTime, bool autoResolve, bool forceRecalc ) : void
SetSliceStatus ( string resourceGroupName, string dataFactoryName, string datasetName, string sliceState, string updateType, System.DateTime dataSliceRangeStartTime, System.DateTime dataSliceRangeEndTime ) : void
SuspendPipeline ( string resourceGroupName, string dataFactoryName, string pipelineName ) : void

Private Methods

Method Description
CheckDataFactoryExists ( string resourceGroupName, string dataFactoryName, PSDataFactory &dataFactory ) : bool
CheckDatasetExists ( string resourceGroupName, string dataFactoryName, string datasetName ) : bool
CheckHubExists ( string resourceGroupName, string dataFactoryName, string hubName ) : bool
CheckLinkedServiceExists ( string resourceGroupName, string dataFactoryName, string linkedServiceName ) : bool
CheckPipelineExists ( string resourceGroupName, string dataFactoryName, string pipelineName ) : bool
GetLinkedServiceType ( string typeName ) : LinkedServiceType

Method Details

CreateOrUpdateDataFactory() public method

public CreateOrUpdateDataFactory ( string resourceGroupName, string dataFactoryName, string location, string>.IDictionary tags ) : Microsoft.Azure.Management.DataFactories.Models.DataFactory
resourceGroupName string
dataFactoryName string
location string
tags string>.IDictionary
return Microsoft.Azure.Management.DataFactories.Models.DataFactory

CreateOrUpdateDataset() public method

public CreateOrUpdateDataset ( string resourceGroupName, string dataFactoryName, string datasetName, string rawJsonContent ) : Microsoft.Azure.Management.DataFactories.Models.Dataset
resourceGroupName string
dataFactoryName string
datasetName string
rawJsonContent string
return Microsoft.Azure.Management.DataFactories.Models.Dataset

CreateOrUpdateGateway() public method

public CreateOrUpdateGateway ( string resourceGroupName, string dataFactoryName, PSDataFactoryGateway gateway ) : PSDataFactoryGateway
resourceGroupName string
dataFactoryName string
gateway Microsoft.Azure.Commands.DataFactories.Models.PSDataFactoryGateway
return Microsoft.Azure.Commands.DataFactories.Models.PSDataFactoryGateway

CreateOrUpdateHub() public method

public CreateOrUpdateHub ( string resourceGroupName, string dataFactoryName, string hubName, string rawJsonContent ) : Microsoft.Azure.Management.DataFactories.Models.Hub
resourceGroupName string
dataFactoryName string
hubName string
rawJsonContent string
return Microsoft.Azure.Management.DataFactories.Models.Hub

CreateOrUpdateLinkedService() public method

public CreateOrUpdateLinkedService ( string resourceGroupName, string dataFactoryName, string linkedServiceName, string rawJsonContent ) : Microsoft.Azure.Management.DataFactories.Models.LinkedService
resourceGroupName string
dataFactoryName string
linkedServiceName string
rawJsonContent string
return Microsoft.Azure.Management.DataFactories.Models.LinkedService

CreateOrUpdatePipeline() public method

public CreateOrUpdatePipeline ( string resourceGroupName, string dataFactoryName, string pipelineName, string rawJsonContent ) : Microsoft.Azure.Management.DataFactories.Models.Pipeline
resourceGroupName string
dataFactoryName string
pipelineName string
rawJsonContent string
return Microsoft.Azure.Management.DataFactories.Models.Pipeline

CreatePSDataFactory() public method

public CreatePSDataFactory ( CreatePSDataFactoryParameters parameters ) : PSDataFactory
parameters CreatePSDataFactoryParameters
return Microsoft.Azure.Commands.DataFactories.Models.PSDataFactory

CreatePSDataset() public method

public CreatePSDataset ( CreatePSDatasetParameters parameters ) : PSDataset
parameters CreatePSDatasetParameters
return Microsoft.Azure.Commands.DataFactories.Models.PSDataset

CreatePSHub() public method

public CreatePSHub ( Microsoft.Azure.Commands.DataFactories.CreatePSHubParameters parameters ) : PSHub
parameters Microsoft.Azure.Commands.DataFactories.CreatePSHubParameters
return Microsoft.Azure.Commands.DataFactories.Models.PSHub

CreatePSLinkedService() public method

public CreatePSLinkedService ( CreatePSLinkedServiceParameters parameters ) : PSLinkedService
parameters CreatePSLinkedServiceParameters
return Microsoft.Azure.Commands.DataFactories.Models.PSLinkedService

CreatePSPipeline() public method

public CreatePSPipeline ( CreatePSPipelineParameters parameters ) : PSPipeline
parameters CreatePSPipelineParameters
return Microsoft.Azure.Commands.DataFactories.Models.PSPipeline

DataFactoryClient() public method

Parameterless constructor for Mocking.
public DataFactoryClient ( ) : Microsoft.Azure.Commands.Common.Authentication
return Microsoft.Azure.Commands.Common.Authentication

DataFactoryClient() public method

public DataFactoryClient ( AzureContext context ) : Microsoft.Azure.Commands.Common.Authentication
context AzureContext
return Microsoft.Azure.Commands.Common.Authentication

DeleteDataFactory() public method

public DeleteDataFactory ( string resourceGroupName, string dataFactoryName ) : HttpStatusCode
resourceGroupName string
dataFactoryName string
return HttpStatusCode

DeleteDataset() public method

public DeleteDataset ( string resourceGroupName, string dataFactoryName, string datasetName ) : HttpStatusCode
resourceGroupName string
dataFactoryName string
datasetName string
return HttpStatusCode

DeleteGateway() public method

public DeleteGateway ( string resourceGroupName, string dataFactoryName, string gatewayName ) : void
resourceGroupName string
dataFactoryName string
gatewayName string
return void

DeleteHub() public method

public DeleteHub ( string resourceGroupName, string dataFactoryName, string hubName ) : HttpStatusCode
resourceGroupName string
dataFactoryName string
hubName string
return HttpStatusCode

DeleteLinkedService() public method

public DeleteLinkedService ( string resourceGroupName, string dataFactoryName, string linkedServiceName ) : HttpStatusCode
resourceGroupName string
dataFactoryName string
linkedServiceName string
return HttpStatusCode

DeletePipeline() public method

public DeletePipeline ( string resourceGroupName, string dataFactoryName, string pipelineName ) : HttpStatusCode
resourceGroupName string
dataFactoryName string
pipelineName string
return HttpStatusCode

DownloadFileToBlob() public method

public DownloadFileToBlob ( Microsoft.Azure.Commands.DataFactories.BlobDownloadParameters parameters ) : void
parameters Microsoft.Azure.Commands.DataFactories.BlobDownloadParameters
return void

FilterPSDataFactories() public method

public FilterPSDataFactories ( DataFactoryFilterOptions filterOptions ) : List
filterOptions DataFactoryFilterOptions
return List

FilterPSDatasets() public method

public FilterPSDatasets ( Microsoft.Azure.Commands.DataFactories.DatasetFilterOptions filterOptions ) : List
filterOptions Microsoft.Azure.Commands.DataFactories.DatasetFilterOptions
return List

FilterPSHubs() public method

public FilterPSHubs ( Microsoft.Azure.Commands.DataFactories.HubFilterOptions filterOptions ) : List
filterOptions Microsoft.Azure.Commands.DataFactories.HubFilterOptions
return List

FilterPSLinkedServices() public method

public FilterPSLinkedServices ( Microsoft.Azure.Commands.DataFactories.LinkedServiceFilterOptions filterOptions ) : List
filterOptions Microsoft.Azure.Commands.DataFactories.LinkedServiceFilterOptions
return List

FilterPSPipelines() public method

public FilterPSPipelines ( Microsoft.Azure.Commands.DataFactories.PipelineFilterOptions filterOptions ) : List
filterOptions Microsoft.Azure.Commands.DataFactories.PipelineFilterOptions
return List

GetDataFactory() public method

public GetDataFactory ( string resourceGroupName, string dataFactoryName ) : PSDataFactory
resourceGroupName string
dataFactoryName string
return Microsoft.Azure.Commands.DataFactories.Models.PSDataFactory

GetDataSliceRunLogsSharedAccessSignature() public method

public GetDataSliceRunLogsSharedAccessSignature ( string resourceGroupName, string dataFactoryName, string dataSliceRunId ) : Uri
resourceGroupName string
dataFactoryName string
dataSliceRunId string
return System.Uri

GetDataset() public method

public GetDataset ( string resourceGroupName, string dataFactoryName, string datasetName ) : PSDataset
resourceGroupName string
dataFactoryName string
datasetName string
return Microsoft.Azure.Commands.DataFactories.Models.PSDataset

GetGateway() public method

public GetGateway ( string resourceGroupName, string dataFactoryName, string gatewayName ) : PSDataFactoryGateway
resourceGroupName string
dataFactoryName string
gatewayName string
return Microsoft.Azure.Commands.DataFactories.Models.PSDataFactoryGateway

GetHub() public method

public GetHub ( string resourceGroupName, string dataFactoryName, string hubName ) : PSHub
resourceGroupName string
dataFactoryName string
hubName string
return Microsoft.Azure.Commands.DataFactories.Models.PSHub

GetLinkedService() public method

public GetLinkedService ( string resourceGroupName, string dataFactoryName, string linkedServiceName ) : PSLinkedService
resourceGroupName string
dataFactoryName string
linkedServiceName string
return Microsoft.Azure.Commands.DataFactories.Models.PSLinkedService

GetPipeline() public method

public GetPipeline ( string resourceGroupName, string dataFactoryName, string pipelineName ) : PSPipeline
resourceGroupName string
dataFactoryName string
pipelineName string
return Microsoft.Azure.Commands.DataFactories.Models.PSPipeline

ListDataFactories() public method

public ListDataFactories ( DataFactoryFilterOptions filterOptions ) : List
filterOptions DataFactoryFilterOptions
return List

ListDataSliceRuns() public method

public ListDataSliceRuns ( Microsoft.Azure.Commands.DataFactories.DataSliceRunFilterOptions filterOptions ) : List
filterOptions Microsoft.Azure.Commands.DataFactories.DataSliceRunFilterOptions
return List

ListDataSlices() public method

public ListDataSlices ( Microsoft.Azure.Commands.DataFactories.DataSliceFilterOptions filterOptions ) : List
filterOptions Microsoft.Azure.Commands.DataFactories.DataSliceFilterOptions
return List

ListDatasets() public method

public ListDatasets ( Microsoft.Azure.Commands.DataFactories.DatasetFilterOptions filterOptions ) : List
filterOptions Microsoft.Azure.Commands.DataFactories.DatasetFilterOptions
return List

ListGateways() public method

public ListGateways ( string resourceGroupName, string dataFactoryName ) : List
resourceGroupName string
dataFactoryName string
return List

ListHubs() public method

public ListHubs ( Microsoft.Azure.Commands.DataFactories.HubFilterOptions filterOptions ) : List
filterOptions Microsoft.Azure.Commands.DataFactories.HubFilterOptions
return List

ListLinkedServices() public method

public ListLinkedServices ( Microsoft.Azure.Commands.DataFactories.LinkedServiceFilterOptions filterOptions ) : List
filterOptions Microsoft.Azure.Commands.DataFactories.LinkedServiceFilterOptions
return List

ListPipelines() public method

public ListPipelines ( Microsoft.Azure.Commands.DataFactories.PipelineFilterOptions filterOptions ) : List
filterOptions Microsoft.Azure.Commands.DataFactories.PipelineFilterOptions
return List

OnPremisesEncryptString() public method

public OnPremisesEncryptString ( SecureString value, string resourceGroupName, string dataFactoryName, string gatewayName, PSCredential credential, string type, string nonCredentialValue, string authenticationType, string serverName, string databaseName ) : string
value SecureString
resourceGroupName string
dataFactoryName string
gatewayName string
credential PSCredential
type string
nonCredentialValue string
authenticationType string
serverName string
databaseName string
return string

PatchGateway() public method

public PatchGateway ( string resourceGroupName, string dataFactoryName, PSDataFactoryGateway gateway ) : PSDataFactoryGateway
resourceGroupName string
dataFactoryName string
gateway Microsoft.Azure.Commands.DataFactories.Models.PSDataFactoryGateway
return Microsoft.Azure.Commands.DataFactories.Models.PSDataFactoryGateway

ReadJsonFileContent() public method

public ReadJsonFileContent ( string path ) : string
path string
return string

RegenerateGatewayKey() public method

public RegenerateGatewayKey ( string resourceGroupName, string dataFactoryName, string gatewayName ) : Microsoft.Azure.Commands.DataFactories.Models.PSDataFactoryGatewayKey
resourceGroupName string
dataFactoryName string
gatewayName string
return Microsoft.Azure.Commands.DataFactories.Models.PSDataFactoryGatewayKey

ResumePipeline() public method

public ResumePipeline ( string resourceGroupName, string dataFactoryName, string pipelineName ) : void
resourceGroupName string
dataFactoryName string
pipelineName string
return void

SetPipelineActivePeriod() public method

public SetPipelineActivePeriod ( string resourceGroupName, string dataFactoryName, string pipelineName, System.DateTime startTime, System.DateTime endTime, bool autoResolve, bool forceRecalc ) : void
resourceGroupName string
dataFactoryName string
pipelineName string
startTime System.DateTime
endTime System.DateTime
autoResolve bool
forceRecalc bool
return void

SetSliceStatus() public method

public SetSliceStatus ( string resourceGroupName, string dataFactoryName, string datasetName, string sliceState, string updateType, System.DateTime dataSliceRangeStartTime, System.DateTime dataSliceRangeEndTime ) : void
resourceGroupName string
dataFactoryName string
datasetName string
sliceState string
updateType string
dataSliceRangeStartTime System.DateTime
dataSliceRangeEndTime System.DateTime
return void

SuspendPipeline() public method

public SuspendPipeline ( string resourceGroupName, string dataFactoryName, string pipelineName ) : void
resourceGroupName string
dataFactoryName string
pipelineName string
return void