private string ResetVirtualNetworkGatewayConnectionSharedKey()
{
var vnetGatewayConnectionSharedKey = new PSConnectionResetSharedKey();
vnetGatewayConnectionSharedKey.KeyLength = KeyLength;
// Map to the sdk object
var vnetGatewayConnectionSharedKeyModel = Mapper.Map<MNM.ConnectionResetSharedKey>(vnetGatewayConnectionSharedKey);
// Execute the Set VirtualNetworkConnectionSharedKey call
this.VirtualNetworkGatewayConnectionClient.ResetSharedKey(this.ResourceGroupName, this.Name, vnetGatewayConnectionSharedKeyModel);
var getVirtualNetworkGatewayConnectionSharedKey = this.GetVirtualNetworkGatewayConnectionSharedKey(this.ResourceGroupName, this.Name);
return getVirtualNetworkGatewayConnectionSharedKey;
}
}