public override void ExecuteCmdlet() { ExecuteCmdLetWrap( () => { ApiManagement.RemoveRegion(Location); return(ApiManagement); }, passThru: true); }
public override void ExecuteCmdlet() { ExecuteCmdLetWrap( () => { ApiManagement.AddRegion(Location, Sku ?? PsApiManagementSku.Developer, Capacity ?? 1, VirtualNetwork); return(ApiManagement); }, passThru: true); }
public override void ExecuteCmdlet() { ExecuteCmdLetWrap( () => { ApiManagement.UpdateRegion(Location, Sku, Capacity, VirtualNetwork); return(ApiManagement); }, passThru: true); }
protected override void ProcessRecord() { ExecuteCmdLetWrap( () => { ApiManagement.RemoveRegion(Location); return(ApiManagement); }, passThru: true); }
protected override void ProcessRecord() { ExecuteCmdLetWrap( () => { ApiManagement.AddRegion(Location, Sku ?? PsApiManagementSku.Developer, Capacity ?? 1, VirtualNetwork); return(ApiManagement); }, passThru: true); }
protected override void ProcessRecord() { ExecuteCmdLetWrap( () => { ApiManagement.UpdateRegion(Location, Sku, Capacity, VirtualNetwork); return(ApiManagement); }, passThru: true); }
public override void ExecuteCmdlet() { ExecuteCmdLetWrap( () => { ApiManagement.AddRegion( Location, Sku ?? PsApiManagementSku.Premium, Capacity ?? 1, VirtualNetwork, Zone, DisableGateway); return(ApiManagement); }, passThru: true); }
public override void ExecuteCmdlet() { ExecuteCmdLetWrap( () => { ApiManagement.UpdateRegion( Location, Sku, Capacity, VirtualNetwork, Zone, DisableGateway, PublicIpAddressId); return ApiManagement; }, passThru: true); }