CreatePSDataFactory() 공개 메소드

public CreatePSDataFactory ( CreatePSDataFactoryParameters parameters ) : PSDataFactory
parameters CreatePSDataFactoryParameters
리턴 Microsoft.Azure.Commands.DataFactories.Models.PSDataFactory
예제 #1
0
        public override void ExecuteCmdlet()
        {
            CreatePSDataFactoryParameters parameters = new CreatePSDataFactoryParameters()
            {
                ResourceGroupName = ResourceGroupName,
                DataFactoryName   = Name,
                Location          = Location,
                Tags          = Tag,
                Force         = Force.IsPresent,
                ConfirmAction = ConfirmAction
            };

            WriteObject(DataFactoryClient.CreatePSDataFactory(parameters));
        }
        protected override void ProcessRecord()
        {
            CreatePSDataFactoryParameters parameters = new CreatePSDataFactoryParameters()
            {
                ResourceGroupName = ResourceGroupName,
                DataFactoryName   = Name,
                Location          = Location,
                Tags          = Tags,
                Force         = Force.IsPresent,
                ConfirmAction = ConfirmAction
            };

            WriteObject(DataFactoryClient.CreatePSDataFactory(parameters));
        }