/// <summary> /// Executes the get workflow accesskey command /// </summary> public override void ExecuteCmdlet() { base.ExecuteCmdlet(); this.WriteObject( LogicAppClient.RegenerateWorkflowAccessKey(this.ResourceGroupName, this.Name, this.AccessKeyName, this.KeyType), true); }
/// <summary> /// Executes the get workflow accesskey command /// </summary> public override void ExecuteCmdlet() { base.ExecuteCmdlet(); ConfirmAction(Force.IsPresent, "Are you sure you want to regenerate LogicApp access keys.", "Updating LogicApp access keys.", Name, () => { this.WriteObject( LogicAppClient.RegenerateWorkflowAccessKey(this.ResourceGroupName, this.Name, this.AccessKeyName, this.KeyType), true); }, null); }