public DeleteGateway(IGatewayOperations gatewayClient, string virtualNetworkSiteName) { this.gatewayClient = gatewayClient; this.virtualNetworkSiteName = virtualNetworkSiteName; oldGetGatewayResponse = gatewayClient.Get(virtualNetworkSiteName); }
public ResizeGateway(IGatewayOperations gatewayClient, string virtualNetworkSiteName, ResizeGatewayParameters parameters) { this.gatewayClient = gatewayClient; this.virtualNetworkSiteName = virtualNetworkSiteName; this.parameters = parameters; if (string.IsNullOrWhiteSpace(virtualNetworkSiteName) == false) { oldGetResponse = gatewayClient.Get(virtualNetworkSiteName); } }