private string SetVirtualNetworkGatewayConnectionSharedKey()
{
var vnetGatewayConnectionSharedKey = new PSConnectionSharedKey();
vnetGatewayConnectionSharedKey.Value = Value;
// Map to the sdk object
var vnetGatewayConnectionSharedKeyModel = Mapper.Map<MNM.ConnectionSharedKey>(vnetGatewayConnectionSharedKey);
// Execute the Set VirtualNetworkConnectionSharedKey call
this.VirtualNetworkGatewayConnectionClient.SetSharedKey(this.ResourceGroupName, this.Name, vnetGatewayConnectionSharedKeyModel);
var getVirtualNetworkGatewayConnectionSharedKey = this.GetVirtualNetworkGatewayConnectionSharedKey(this.ResourceGroupName, this.Name);
return getVirtualNetworkGatewayConnectionSharedKey;
}
}